I just recently installed wxWidgets. I did the wxMSW option and compiled it successfully, so I installed version 2.8.9. I installed it to the following directory:
C:\Program Files\CodeBlocks\MinGW\wxWidgets-2.8.9
The global var in Code::Blocks points to that directory.
Then I created a new wxWidgets project in Code::Blocks. I opted to use wxSmith.
When I try to compile, I get the following error:
C:\DOCUME~1\DAVIDP~1\MYDOCU~1\CODEBL~1\WIDGET~1\resource.rc|3|wx/msw/wx.rc: No such file or directory|
||preprocessing failed.|
||=== Build finished: 2 errors, 0 warnings ===|
"resource.rc" (which was automatically generated by the Code::Blocks wizard) looks like this:
aaaa ICON "wx/msw/std.ico"
#include "wx/msw/wx.rc"
However, when I look at "C:\Program Files\CodeBlocks\MinGW\wxWidgets-2.8.9\wx\msw" there is very clearly a wx.rc file. It exists...no doubts. What could be my problem?