/usr/bin/ld: Undefined symbols
PERL 5 regular expression pattern matching
Brought to you by:
mish_the_fish
Whenever I try to compile a simple C++ code containing
PCRE, I get an error to do with ld.
/usr/bin/ld: Undefined symbols:
pcrecpp::RE::Init(char const*, pcrecpp::RE_Options const*)
pcrecpp::RE::~RE()
collect2: ld returned 1 exit status
And here is the code:
#include <pcrecpp.h>
int main ( )
{
pcrecpp::RE re("h.*o");
}
Any help would be great. Contact me at acoolie@gmail.com