Author Topic: WxSmith : windres.exe: preprocessing failed.  (Read 7392 times)

Offline Deftwun

  • Single posting newcomer
  • *
  • Posts: 3
WxSmith : windres.exe: preprocessing failed.
« on: August 06, 2011, 04:05:13 am »
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:

Code
-------------- 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?

Offline Deftwun

  • Single posting newcomer
  • *
  • Posts: 3
Re: WxSmith : windres.exe: preprocessing failed.
« Reply #1 on: August 06, 2011, 04:23:59 am »
Nevermind... Stupid mistake.  Under Compiler Settings-Search directories-resources I must have placed SFML dirs. Deleted them from the list and it compiles fine.