Help install PCRE in windows with GCC

169 views
Skip to first unread message

stefano cerbioni

unread,
Dec 31, 2021, 11:23:51 AM12/31/21
to PCRE2 discussion list
Hi guys , happy new year ,   i  want use GCC with PCRE in windows , i had installed codeblocks+ gcc , (code blocks install also gcc and  msys2 ) , now i must install PCRE , i download  CMake and install it run it .
1. choice source dir with PCRE (after uncompressed (last version)),
2. create another dir called  build (outside a source dir), and  insert path in Cmake
3.  push configure and choice codeblock+mingw , push generate , and  done
4. in build appear a suppose a precompile file,   but if  i run pcre2_test.bat  returnme  error Error: "C:/pcre2/pcre2-10.39/build\pcre2test.exe" not found
if open in codeblocks pcre2_chartables.c  and  try to compile return me fatal error  in include #include "pcre2_internal.h" ||=== Build file: "no target" in "no project" (compiler: unknown) ===|
C:\pcre2\pcre2-10.39\build\pcre2_chartables.c|32|fatal error: pcre2_internal.h: No such file or directory|
||=== Build failed: 1 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
anyone  can help me ?? thanks  at  all and  happy new year again

Reply all
Reply to author
Forward
0 new messages