Hi!
I'm trying to use SFML 2.0 with codeblocks ide and mingw. I downloaded the Windows 32 bits - GCC SJLJ (Code::Blocks) (15.7 MB) version of sfml 2.0.
I've set everything exactly like in
http://www.sfml-dev.org/tutorials/2.0/start-cb.php except i've added the -s for static libs and defined SFML_STATIC. The main.cpp is the same.
For some reason, the debug won't compile because it doesn't find sf::renderwindow. I've double-checked everything and can't understand why it would compile under release and not under debug...
Also, the release version asks for the .dll files even though i've defined sfml_static and used the -s libs.
Quote:
The program can't start because sfml-graphics-2.dll is missing from your computer. Try reinstalling the program to fix this problem.
Any idea of what i'm doing wrong ?
edit:
For some reason (not sure what changed
). It now compiles in debug.
However, both versions now just crash after having been launched.
I really don't understand what happens.
I guess i'm going to try recompiling sfml.