Hello,
I'm new in wxWidget and code::block. I have tried wxDevCPP but I think code::block is better.
I have a problem when I want to use cygwin compiler. I can't use minGW because I have a library that should be installed under cygwin.
This problem occurs when I compile wxWidget template. It says
C:/cygwin/usr/local/include/wx-2.8/wx/defs.h:42:13: #error "No Target! You should use wx-config program for compilation flags!"
I have tried to include `wx-config --cflags` in compiler settings and `wx-config --libs` in linker settings but it didn't work.
However, this is my output of compiler logging....
g++.exe -Wall -g -D__WXDEBUG__ -IC:/cygwin/usr/local/lib/wx/include/msw-ansi-debug-static-2.8 -IC:/cygwin/usr/local/include/wx-2.8 -IC:/cygwin/usr/include -c "C:/bluedee's inventory/Programming/script/TesEmpty/Try2DMain.cpp" -o obj/Debug/Try2DMain.o
You can see that wx-config is not included. How to set the compiler in code::block to include wx-config?
I tried to compile my project under cygwin shell and it works.
Thanks in advance