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:
Big trouble again - setup.h
-
- CodeLite Guru
- Posts: 352
- Joined: Sun Nov 29, 2009 7:36 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Big trouble again - setup.h
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
CodeLite 15.x
CodeLite is awesome, I just Love it!
-
- CodeLite Guru
- Posts: 352
- Joined: Sun Nov 29, 2009 7:36 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Big trouble again - setup.h
Is there any help?
CodeLite 15.x
CodeLite is awesome, I just Love it!
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Big trouble again - setup.h
Please make sure that you have wx in debug mode installed and compiled.
Eran
This is a compilation error and not something that related to codelite, so such questions are more appropriate asked at the WX forumevstevemd wrote:Is there any help?
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Guru
- Posts: 352
- Joined: Sun Nov 29, 2009 7:36 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Big trouble again - setup.h
No friend it is not!
I either have messed CL settings or it is a bug.
Let me explain where I have gone with problem so far with this.
CL adds __WXDEBUG__ during compilation so that It cannot link to non-debug library.
Now I'm forced to use debug version. I'm zero in debug techniques so I always use release versions. It just doesn't want.
I have changed settings, and remove all compiled thing, to cleaning and reinstalling CL but nope it won't work.
I don't know how to get rid of flag __WXDEBUG__ so I for now stick with debug version.
I'm working on XP/wxWidgets 2.9
Thanks
I either have messed CL settings or it is a bug.
Let me explain where I have gone with problem so far with this.
CL adds __WXDEBUG__ during compilation so that It cannot link to non-debug library.
Now I'm forced to use debug version. I'm zero in debug techniques so I always use release versions. It just doesn't want.
I have changed settings, and remove all compiled thing, to cleaning and reinstalling CL but nope it won't work.
I don't know how to get rid of flag __WXDEBUG__ so I for now stick with debug version.
I'm working on XP/wxWidgets 2.9
Thanks
CodeLite 15.x
CodeLite is awesome, I just Love it!
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Big trouble again - setup.h
Do you have wx debug version installe?
If not try and build the 'release' configuration
FYI:
The compilation flags are set at project settings -> compiler, by this line '$(shell wx-config --cxxflags --debug=yes ...)' you can simply change the --debug=yes into --debug=no
The linker flags are set at the project settings -> linker, by this line '$(shell wx-config --libs --debug=yes...)' if you plan on changing the above, you should update this line as well
Eran
If not try and build the 'release' configuration
so build the 'Release' configuration rather than the debug configurationevstevemd wrote:CL adds __WXDEBUG__ during compilation so that It cannot link to non-debug library.
FYI:
The compilation flags are set at project settings -> compiler, by this line '$(shell wx-config --cxxflags --debug=yes ...)' you can simply change the --debug=yes into --debug=no
The linker flags are set at the project settings -> linker, by this line '$(shell wx-config --libs --debug=yes...)' if you plan on changing the above, you should update this line as well
Eran