Code::Blocks Forums
User forums => Help => Topic started by: a023971 on September 14, 2010, 07:05:19 pm
-
i installed codeblocks 10.05 with wxwidgets 2.8.10 from wxpack and compiled by mingw (OS win7 home premium). When i try to create a wxwidget project i have this message.
windres.exe -i C:\PROGRA~2\CODEBL~1\q1x2\resource.rc -J rc -o obj\Release\resource.res -O coff -IC:\wxWidgets2.8\include -IC:\wxWidgets2.8\lib\gcc_dll\mswu
windres.exe: preprocessing failed.
what's wrong?? thanks
[Edit:] Removed non-english content.
-
What version of windres.exe are you using?
Get rid of all the spaces in the paths used by the project; some version of windres has problems with spaces.
Is the file resource.rc an text file?
Tim S.
-
I've got the windres.exe version contained in mingw with codeblock 10.05. I see all paths and looks well. I also have the environment variable path pointing to bin directory of MinGW. Another message in log that not appear in the post before was:
The actual directory is not valid
windres.exe: preprocessing failed
Do I need to download the src files for codeblocks??
Please I need some help
-
The actual directory is not valid
Remove the rc file from CB project; re-add the rc file, using relative path might be needed also.
Note: Turn ON Full Compiler Logging
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F
Tim S.
-
The directory of the project was invalid i don't know why. I moved the folder of the project and it runs. Thank you very much