----------Building project:[ clTest - Debug ]----------
g++ -c "C:/Program Files/CodeLite-n/clTest/cltest_app.cpp" -g -mthreads -DHAVE_W32API_H -D__WXMSW__ -D__WXDEBUG__ -D_UNICODE -IC:\wxWidgets-2.8.9-n\lib\gcc_dll\mswud -IC:\wxWidgets-2.8.9-n\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -D__WX__ -o ./Debug/cltest_app.o
In file included from C:/Program Files/CodeLite-n/clTest/cltest_app.cpp:1:
C:/Program Files/CodeLite-n/clTest/cltest_app.h:4:20: wx/app.h: No such file or directory
Do you have msys installed? If so, this might help:
I had trouble with the -IC:\wxWidgets... flag until I added SHELL=cmd to my environment variables. It seems that "make" will try to use "sh" to execute commands unless you override it by setting SHELL. And sh doesn't like backslashes as path separators. That's why g++ can't find the header files.
I have now re-installed CL, repeated the creation of the wxWidget GUI test app and I get the same error; but when I define SHELL=cmd.exeit all works as advertised
coder99 wrote:I have now re-installed CL, repeated the creation of the wxWidget GUI test app and I get the same error; but when I define SHELL=cmd.exeit all works as advertised
You should really mention that you are using MSYS next time...
FWIW, the reason I went looking for alternatives was Eclipse
and found Codelite
But seriously, if this is a problem, is there a way to check for it at installation time or perhaps simply set the SHELL environment variable by default?