Reputation: 1231
i don't know anymore about PCRE to get work in my project at DevC++. it always produce error code when i do some function like this :
#include <pcre.h>
and did you know, its not about no such file or directory bla... bla...
but it say Linker error
, i searching, googling and try some tutorials, and read documentation too. The result is 0. i wonder why people so easy to fix this problem. The stupid me. Maybe you smarter than me.
and the point
Upvotes: 0
Views: 178
Reputation: 2730
Linker errors usually mean you have the definition of a function, but not it's implementation. In this case, as in most, you included the header file containing the function definitions of pcre but you did not link the library. You should link the library (project options) and recompile.
Upvotes: 1