User forums > Using Code::Blocks

wxWidgets Preprocessing Problems

<< < (2/2)

stahta01:
Change the version of windres (to one that supports spaces) or use a path with no spaces or special characters in it.

Tim S.

TimothyS:
Moved all the projects into a new folder "C:\Cpp".  Unfortunately, it seems it's trill trying to look in "Program Files" for the curses library, which it wouldn't be able to find there even if it could use spaces, as I haven't had Code::Blocks or any other programming related files in "Program Files" since I discovered how much it dislikes spaces in file names...

That being said, when I first started I let CodeBlocks install to the default program files folder, so I'm guessing there has to be a record somewhere that's telling it to look there, but I don't know where... I checked my environment variables, to see if there was one there holding a path with a space in it, but nothing, save the temp folder ones... should I change those?

Thanks again for all your time and help!

--- Code: ----------------- Build: Debug in wxWidgetsTest ---------------

mingw32-g++.exe -pipe -mthreads -D__GNUWIN32__ -D__WXMSW__ -DWXUSINGDLL -DwxUSE_UNICODE  -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -Wall  -g -D__WXDEBUG__    -IC:\wxWidgets\include -IC:\wxWidgets\contrib\include -IC:\wxWidgets\lib\gcc_dll\mswud -I"C:\Program Files\CodeBlocks\PDCurses-SO" -I"C:\Program Files\CodeBlocks\PDCurses-SO\win32" -I"C:\Program Files\CodeBlocks\DevPaks\include"  -c C:\Cpp\wxWidgetsTest\wxWidgetsTestApp.cpp -o obj\Debug\wxWidgetsTestApp.o
windres.exe -i C:\Cpp\WXWIDG~1\resource.rc -J rc -o obj\Debug\resource.res -O coff -IC:\wxWidgets\include -IC:\wxWidgets\lib\gcc_dll\mswud -I"C:\Program Files\CodeBlocks\PDCurses-SO" -I"C:\Program Files\CodeBlocks\PDCurses-SO\win32"
gcc: Files\CodeBlocks\PDCurses-SO: No such file or directory
gcc: Files\CodeBlocks\PDCurses-SO\win32: No such file or directory
windres.exe: preprocessing failed.
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings
 
--- End code ---

[EDIT]: Just realized it's looking for the DevPaks folder in Program Files too... I'll see if I can figure out why during my down-time at school today...

MortenMacFly:

--- Quote from: TimothyS on September 24, 2009, 01:51:17 pm ---but I don't know where...

--- End quote ---
As these are include directories for the resourcee compiler, they are either:
- in the compiler options
- in the project options
- in the targets options.

TimothyS:
That did it, thanks!

Tim

Navigation

[0] Message Index

[*] Previous page

Go to full version