I compiled wxWidgets-2.8.7 and Code::Blocks from SVN (checked out today) as per the instructions here:
http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux
The install seems to have gone fine. I have my wx/bin in my path and wx-config works. When I run "wx-config --cflags" I get the following output:
-I/opt/wx/2.8/lib/wx/include/gtk2-unicode-release-2.8 -I/opt/wx/2.8/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread
Those flags look good to me. I checked "/opt/wx/2.8/lib/wx/include/gtk2-unicode-release-2.8" and wx/setup.h exists there. I have created a wxwidgets project in codeblocks and under "Compiler settings->Other options" I have:
Still, when I try to compile the application I get the following error:
/opt/wx/2.8/include/wx-2.8/wx/platform.h:196:22: error: wx/setup.h: No such file or directory
I don't see that there is anything wrong with the configuration. Does anyone have any ideas? Thanks.