简体   繁体   中英

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM