News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

WxSmith : windres.exe: preprocessing failed.

Started by Deftwun, August 06, 2011, 04:05:13 AM

Previous topic - Next topic

Deftwun

This is my first go around with wxwidgets and wanted to try and use wxsmith. But I get this error every time i try to compile:

-------------- Build: Debug in Test ---------------

Compiling: resource.rc
gcc: Van\: No such file or directory
gcc: Nyornson\Desktop\SFML\SFML-1.6: No such file or directory
gcc: Van\: No such file or directory
gcc: Nyornson\Desktop\SFML\SFML-1.6\lib: No such file or directory
gcc: Van\: No such file or directory
gcc: Nyornson\Desktop\SFML\SFML-1.6\include: No such file or directory
windres.exe: preprocessing failed.


I followed everything in this tutorial: http://wiki.codeblocks.org/index.php?title=WxSmith_tutorial:_Hello_world up to the point where it asks you to compile for the first time. I downloaded 'wxpack' with widgets 2.8 and am using codeblocks 10.05

The part that gets me is that I'm not trying to make an sfml program at all. The compiler IS set up to look for the directory of SFML though. I'm not sure if that is contributing though. I've seen a few other windres errors when i google it but they usually say "mingw" or "widgets" was not found...Any thoughts?

Deftwun

Nevermind... Stupid mistake.  Under Compiler Settings-Search directories-resources I must have placed SFML dirs. Deleted them from the list and it compiles fine.