I want to use PCRE in C++, but have so far been unsuccessful in getting it to work.
I'm running Ubuntu and have in my latest attempt tried to install the libpcre3-dev package (I should mention that I am rather new to Linux too)
I included PCRE with
#include <pcrecpp.h>currently I'm getting the error "undefined reference to pcrecpp::RE::no_arg" whenever I try to define an RE object
pcrecpp::RE reg("fys|smi|int|fok|arv|kar");What am I doing wrong?
And I do know that C++ has a regex library, but since I'm used to PCRE from PHP, that is what I'm going for.