Hi,
I'm running through the wxSmith tutorial at: http://wiki.codeblocks.org/index.php?title=WxSmith_tutorial:_Hello_world
And everything seems to be going fine until I try a compilation, i.e the last few lines before: http://wiki.codeblocks.org/index.php?title=WxSmith_tutorial:_Hello_world#Let.27s_add_some_fireworks
At that point rather than seeing a nice clean build, I instead get:
-------------- Build: Debug in hellowin ---------------
windres.exe -i C:\CODE-B~1\hellowin\resource.rc -J rc -o obj\Debug\resource.res -O coff -IC:\SourceCode\Libraries\wxWidgets2.8\include -IC:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_dll\mswud
gcc: C:CODE-B~1hellowinresource.rc: No such file or directory
gcc: warning: `-x c' after last input file has no effect
gcc: no input files
windres: preprocessing failed.
Process terminated with status 1 (0 minutes, 5 seconds)
0 errors, 1 warnings
This is on a Win XP SP3 machine. Strangely on a machine on which I installed all the same packages and configuration (side-by-side install) everything works fine (albeit this is a Vista machine). Why is one installation creating all the required files and the other not? I don't understand what I've done wrong given that I'm sure that I set up both machines identically!
Iain
I suggest posting the full compiler build log for both and seeing how it differs.
Thanks - the log in the HTML file though is pretty much what's in my first post - even with "full command line" logging enabled:
Build started on: 30-11-2009 at 10:51.23
Build ended on: 30-11-2009 at 10:51.23
-------------- Build: Debug in hellowin ---------------
windres.exe -i C:\CODE-B~1\hellowin\resource.rc -J rc -o obj\Debug\resource.res -O coff -IC:\SourceCode\Libraries\wxWidgets2.8\include -IC:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_dll\mswud
gcc: C:CODE-B~1hellowinresource.rc: No such file or directory
gcc: warning: `-x c' after last input file has no effect
gcc: no input files
windres: preprocessing failed.
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 1 warnings
I'll try shortening the bits of the path that don't fit 8.3 format...
I'll try shortening the bits of the path that don't fit 8.3 format...
That didn't work...
Build started on: 30-11-2009 at 10:56.33
Build ended on: 30-11-2009 at 10:56.33
-------------- Build: Debug in hellowin ---------------
windres.exe -i C:\codeblks\hellowin\resource.rc -J rc -o obj\Debug\resource.res -O coff -IC:\SourceCode\Libraries\wxWidgets2.8\include -IC:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_dll\mswud
gcc: C:codeblkshellowinresource.rc: No such file or directory
gcc: warning: `-x c' after last input file has no effect
gcc: no input files
windres: preprocessing failed.
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 1 warnings
Unfortunately my Vista machine is at home now so I won't be able to get to it for about 12 more hours. When I do I'll post a log though.