Mike
Mike

Reputation: 1231

C++ - How to use PCRE with DevC++

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

Upvotes: 0

Views: 178

Answers (1)

Kevin
Kevin

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

Related Questions