User forums > General (but related to Code::Blocks)
.rc: No such file or directory
iainc:
--- Quote ---I'll try shortening the bits of the path that don't fit 8.3 format...
--- End quote ---
That didn't work...
--- Code: ---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
--- End code ---
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.
mraman:
this (strange and uncorrected for long) problem happens if your windres.exe is in a path that has spaces in it - such as "c:\program files\x\bin\windres.exe".
move windres.exe to a path that does not have a space or other special characters and add that directory to your PATH environment variable
iainc:
--- Quote ---PATH environment variable
--- End quote ---
We have a winner! On the XP machine I also have Cygwin installed (unlike on the Vista m/c). I just realised that since CygWin also has a windres.exe, a quick change of PATH order was required to alter the folder search order, everything now builds just fine.
I knew it'd turn out to be that I'd not done something basic!
Thanks for your help guys.
Navigation
[0] Message Index
[*] Previous page
Go to full version