SFML (small and maybe very simple probl
SFML (small and maybe very simple problem )
Apr 10, 2013 at 8:21pm UTC
Hi everyone, I have set up the sfml on codeblock, and run the test code "open window". But it says "window.exe has stopped working", and just can't show a window. and I have no building errors or warnings. please help~~
Apr 10, 2013 at 8:43pm UTC
1) Make sure you built SFML yourself. If you downloaded prebuilt libraries they probably won't work.
2) If you are building in Debug, make sure you link to the debug version of SFML. Likewise, if you are building in Release, make sure you link to the Release version of SFML.
Debug libs have a "-d" in the name, ie:
"sfml-graphics-s" would be a release lib
"sfml-graphics-s-d" would be a debug lib
Topic archived. No new replies allowed.
General C++ Programming
© cplusplus.com, 2000-2014 - All rights reserved -
Spotted an error? contact us