I am running Code::Blocks version 17.12 on Windows 10
Build log:
-------------- Build file: "no target" in "no project" (compiler: unknown)---------------
mingw32-gcc.exe -I"C:\Program Files (x86)\CodeBlocks\MinGW\lib\gcc\mingw32\5.1.0\include\c++\bits" -c C:\Sviluppo\fGenTK\C\re.c -o C:\Sviluppo\fGenTK\C\re.o
mingw32-g++.exe -o C:\Sviluppo\fGenTK\C\re.exe C:\Sviluppo\fGenTK\C\re.o
C:\Sviluppo\fGenTK\C\re.c:4:17: fatal error: regex: No such file or directory
compilation terminated.
Process terminated with status 1 (0 minute(s), 0 second(s))
1 error(s), 0 warning(s) (0 minute(s), 0 second(s))
I have already tried ...
#include <bits/regex.h>
... but none of them worked.
TDM 5.1.0 may have no regex, is there a regex file (with no extension) here?
C:\Program Files (x86)\CodeBlocks\MinGW\lib\gcc\mingw32\5.1.0\include\c++
If so, that's the path you must add as search directory. If not so, update MinGW to a newer version.