Question

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.

So please help me now ?

and the point

Question: How to fix this problem, I use De

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top