C:\wxMSW-2.8.10\include\wx\platform.h|196|error: wx/setup.h: No such file or directoryI already tried:
C:\wxMSW-2.8.10\include\wx\chkconf.h|103|error: #error "wxUSE_DYNLIB_CLASS must be defined."
...
/projects/test6/test6App.h|13|fatal error: wx/app.h: No such file or directory|
I get errors like "wx/setup.h: No such file or directory"
You're missing an important compiler search path in your build options. Make sure you choose the correct wxWidgets build configuration when running the wxWidgets project wizard. If re-running the wizard isn't an option, then open your project's build options and add "$(#wx.lib)\gcc_dll\mswu" (assuming a monolithic Unicode DLL build) to the compiler search paths.
C:\wxMSW-2.8.10\include\wx\platform.h|196|error: wx/setup.h: No such file or directory
If re-running the wizard isn't an option, then open your project's build options and add "$(#wx.lib)\gcc_dll\mswu" (assuming a monolithic Unicode DLL build) to the compiler search paths.
nmake -f makefile.vc BUILD=release SHARED=1 MONOLITHIC=1 UNICODE=1And Install wxPack on this steps (http://wxpack.sourceforge.net/Tutorials/CodeBlocks)
C:\SourceCode\Libraries\wxWidgets2.8
06.08.2011 19:47 <DIR> .
06.08.2011 19:47 <DIR> ..
06.08.2011 19:48 <DIR> additions
06.08.2011 19:47 <DIR> art
06.08.2011 19:47 <DIR> build
06.08.2011 19:47 <DIR> contrib
06.08.2011 19:47 <DIR> docs
06.08.2011 19:47 <DIR> include
06.08.2011 19:48 <DIR> lib
06.08.2011 19:47 <DIR> locale
06.08.2011 19:47 <DIR> samples
06.08.2011 19:47 <DIR> src
06.08.2011 19:48 1я372я740 unins000.dat
06.08.2011 19:47 1я180я223 unins000.exe
06.08.2011 19:47 <DIR> utils
Don't use nmake and the *.vc makefile, if you use MinGW as your compiler !Ok. I will not. And still not working.
Use mingw32-make or make from MinGW and the *.gcc makefile.yes, i use and this long time (5 minute) compiling wxWidgeth
mingw32-make -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=1 UNICODE=1
On ubuntu you need the packages wx-common and libwxgtk2.8-dev (and all the dependencies of these packages).Ok, Thanks. It's work
After installing them (and restarting C::B, if it is not closed), you should be able to use the wizard-created wxWidgets-project.
ideas on how to run under windows, no?If you follow the steps in the quick-ref as I wrote here:
Looks like incomaptible compilers (different exception handling).or
Why not compiling wxWidgets yourself, it's quite straightforward.
http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef#Build_wxWidgets (http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef#Build_wxWidgets)