Author Topic: Trouble with spaces in filenames?  (Read 3086 times)

arrrgh

  • Guest
Trouble with spaces in filenames?
« on: July 07, 2009, 08:26:41 am »
I'm using Codeblocks 8.02 with the MinGW compiler and Windows XP and am having problems trying to compile files with spaces in the path. My project is in My Documents, so the path id C:\Documents And Settings\username\My Documents\prott\. Lots of spaces there. The error is:
Code
mingw32-gcc.exe: and: No such file or directory
mingw32-gcc.exe: Settings\username\My: No such file or directory
mingw32-gcc.exe: Documents\prott\audiolib\dsl.c: No such file or directory
So I went into the Compiler and Debugger Settings->Other Settings->Advanced options and ticked "Force quotes for filenames in compiler command-line" and "Force quotes for filenames in linker command-line" but it still gives the same error. Should I just move my project to the root directory or is there a way around this problem?
« Last Edit: July 07, 2009, 10:45:52 am by arrrgh »