SFML community forums
Help => General => Topic started by: Bigwaddobeans on October 30, 2013, 05:09:08 am
-
I setup SFML for Code::Blocks and pasted all of the necessary .dll files to the folder with the executable, but whenever I try and run the program, an error window saying "filename.exe has stopped working. Windows is checking for a solution to the problem." As far as I know, the code is fine (I copied and pasted it from the SFML website). Any help would be greatly appreciated.
-
Have you tried searching on the forums? I've seen many posts like this and I've even posted one myself with a similar problem.
Which version of Code::Blocks are you using? And which SFML did you download?
-
I used SFML 2.1 and Code::Blocks 12.11
-
http://www.sfml-dev.org/tutorials/2.1/start-cb.php
Read EVERYTHING and by everything I mean EVERYTHING on the page and it should work just fine. I've setup SFML 2.1 and CB 12.11 just fine multiple times on multiple machines. as long as you READ AND FOLLOW EVERYTHING AND EVERY STEP on the page you should be fine.
-
I used SFML 2.1 and Code::Blocks 12.11
Did you download it with the MinGW compiler? If so you need the 'GCC 4.7 TDM (SJLJ)' version of SFML. If not, you need the 'GCC 4.7 MinGW (DW2)' version. This is the problem I had.