User forums > General (but related to Code::Blocks)
codeblock + GCC in windows questions
(1/1)
faustf:
Hi Guys , i hope that i write in right place , i have installed in my windows 10 the lasta version of codeblocks + gcc , it work , but when i run gcc pcre1.c -lpcre return me error fatal error: pcre.h: No such file or directory
#include <pcre.h>
probably gcc not have a library PCRE , is possible add to gcc ?? if yes in wich mode?
thanks at all
Miguel Gimenez:
You must download the source of pcre2 (pcre is obsolete) and follow their instructions to compile it. I recommend the cmake method.
Then just add the include folder to the project's compiler search path and the library to the linker.
faustf:
you have alittel tutorial ?? because i am not expert thanks ??
Miguel Gimenez:
That would be OT here, look here under BUILDING PCRE2 ON WINDOWS WITH CMAKE for more information.
We can help you later if you have problems configuring C::B to use the library.
faustf:
ok i try thank you
Navigation
[0] Message Index
Go to full version