Big trouble again - setup.h
Posted: Wed Apr 21, 2010 6:33 pm
I installed CodeLite in another machine and compile as usual wx29 Unicode release. I used it happily with my project until I tried to compile Debug mode. I deleted wxFolder and recompile to debug. My App crashed with no error. I found no way but retreat back to release build. There trouble began. I got error below even after deleting everything in CL and reinstall. Strange wxSamples compiles just fine. I used release config in workspace and as log shows below the is __WXDEBUG__ which I don't understand where it comes from. See the log and lend me help please
g++ -c "C:/MTLProjects/VTL works/test/gui.cpp" -O2 -mthreads -DHAVE_W32API_H -D__WXMSW__ -D__WXDEBUG__ -D_UNICODE -IC:\wxWidgets-2.9.0\lib\gcc_lib\mswud -IC:\wxWidgets-2.9.0\include -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -D__WX__ -o ./Release/gui.o "-I."
g++ -c "C:/MTLProjects/VTL works/test/main.cpp" -O2 -mthreads -DHAVE_W32API_H -D__WXMSW__ -D__WXDEBUG__ -D_UNICODE -IC:\wxWidgets-2.9.0\lib\gcc_lib\mswud -IC:\wxWidgets-2.9.0\include -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -D__WX__ -o ./Release/main.o "-I."
In file included from C:\wxWidgets-2.9.0\include/wx/defs.h:26,
from C:\wxWidgets-2.9.0\include/wx/intl.h:19,
from C:/MTLProjects/VTL works/test/gui.h:11,
from C:/MTLProjects/VTL works/test/gui.cpp:8:
C:\wxWidgets-2.9.0\include/wx/platform.h:256:22: error: wx/setup.h: No such file or directory
In file included from C:\wxWidgets-2.9.0\include/wx/platform.h:711,
from C:\wxWidgets-2.9.0\include/wx/defs.h:26,
from C:\wxWidgets-2.9.0\include/wx/intl.h:19,
from C:/MTLProjects/VTL works/test/gui.h:11,
from C:/MTLProjects/VTL works/test/gui.cpp:8:
C:\wxWidgets-2.9.0\include/wx/chkconf.h:94:9: error: #error "wxUSE_ANY must be defined, please read comment near the top of this file."
C:\wxWidgets-2.9.0\include/wx/chkconf.h:102:9: error: #error "wxUSE_CONSOLE_EVENTLOOP must be defined, please read comment near the top of this file."
C:\wxWidgets-2.9.0\include/wx/chkconf.h:110:9: error: #error In file included from C:\wxWidgets-2.9.0\include/wx/defs.h:26,
from C:\wxWidgets-2.9.0\include/wx/wx.h:15,
from C:/MTLProjects/VTL works/test/main.h:18,
from C:/MTLProjects/VTL works/test/main.cpp:14:
C:\wxWidgets-2.9.0\include/wx/platform.h:256:22: error: wx/setup.h: No such file or directory
In file included from C:\wxWidgets-2.9.0\include/wx/platform.h:711,
from C:\wxWidgets-2.9.0\include/wx/defs.h:26,
from C:\wxWidgets-2.9.0\include/wx/wx.h:15,
from C:/MTLProjects/VTL works/test/main.h:18,
from C:/MTLProjects/VTL works/test/main.cpp:14: