User forums > Help
Error parsing paths containing spaces?
@nthony:
Thanks for the info, I wasn't aware there were nightly builds out that didn't exhibit this problem... now just to hunt them down...
Your question got me curious as well (since I've been using RC2 for a while now without problems).
And its exactly as you suggested; the problem is in the resource handler:
--- Code: ---Compiling: test directory\main.c
Process terminated with status 0 (0 minutes, 0 seconds)
0 errors, 0 warnings
--- End code ---
Regular files compile fine when put in directory with spaces,
but resource files not so much:
--- Code: ---Compiling: test directory\resource.rc
gcc: test: No such file or directory
gcc: directory\resource.rc: No such file or directory
gcc: warning: `-x c' after last input file has no effect
gcc: no input files
windres.exe: no resources
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 1 warnings
--- End code ---
Guess the problem was always there (albeit in a more silent form in RC2).
- edit -
Found a pre-parse error nightly build:
The 10 January 2007 build.
mandrav:
--- Quote ---Guess the problem was always there
--- End quote ---
windres.exe is the only executable from the toolchain that doesn't understand paths with spaces. We 're looking for a fix.
kkez:
I've submitted a bug for this flaw: http://sourceforge.net/tracker/index.php?func=detail&aid=1640385&group_id=2435&atid=102435
However, with revision 3517, killerbot introduced an option to choose from absolute and relative paths:
--- Quote ---* Use Full Path for source files (GDB workaround) option added :
- is an advanced compiler option
- default is false (means use relative paths) (this is the suggested value)
--- End quote ---
So, uncheck that option and everything should work fine once again :)
killerbot:
no it won't, look at a post above, you can still reconstruct this, it might be possible the way you structure your project and how you name your directories, that you have a space in the relative path ..
kkez:
--- Quote from: killerbot on January 26, 2007, 02:13:58 pm ---no it won't, look at a post above, you can still reconstruct this, it might be possible the way you structure your project and how you name your directories, that you have a space in the relative path ..
--- End quote ---
This error was noted only after C::B started using absolute paths, so maybe everyone was fine before...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version