I'm setting up CB on a Win 7 pc (CB 16.01, wxWidgets 3.1.0). I have been using CB(13.12, wxWidgets 3.0.2) on Win XP for years with no problems.
I'm trying to build and run a working project transferred from the XP box to the Win7, but I can't get beyond this error.
I have compared my settings on these pcs side-by-side, but I must be overlooking something.
Both std.ico and wx.rc are located in the C:\wxWidgets-3.1.0\include\wx\msw folder.
The build log:
-------------- Build: Release in wxPanel4 (compiler: GNU GCC Compiler)---------------
windres.exe -IC:\wxWidgets-3.0.2\include -IC:\wxWidgets-3.0.2\lib\gcc_lib\mswu -J rc -O coff -i C:\Users\Admin\Desktop\BRIEFC~1\CPP_PR~1\CODEBL~1\WXWIDG~1\wxPanel4\resource.rc -o obj\Release\resource.res
C:\Users\Admin\Desktop\BRIEFC~1\CPP_PR~1\CODEBL~1\WXWIDG~1\wxPanel4\resource.rc:3:24: fatal error: wx/msw/wx.rc: No such file or directory
#include "wx/msw/wx.rc"
^
compilation terminated.
windres.exe: can't open icon file `wx/msw/std.ico': No such file or directory
windres.exe: preprocessing failed.
Process terminated with status 1 (0 minute(s), 0 second(s))
3 error(s), 0 warning(s) (0 minute(s), 0 second(s))
----- End build log -----
In the below resource.rc file the paths are the same.
aaaa ICON "wx/msw/std.ico"
#include "wx/msw/wx.rc"
// prefix is: C:\wxWidgets-3.1.0\include\
Would this be a global variable issue or edit the resource.rc file(manually)?
Any assistance appreciated.