Hi,
I have a problem when I try to use SFML 2.0 RC with CodeBlocks' newest nightly build and MinGW (GCC 4.7). I installed everything correctly (with the tutorial for the 2.0 version) and I can compile without any errors, but I cannot start the compiled programs. Every program crashes on startup (tried with Windows XP and Windows 7 X64). When I reduce the example program from the tutorial to the following, then I get a segmentation fault in the function VideoMode:
#include <SFML/Graphics.hpp>
int main()
{
sf::Window App(sf::VideoMode(), "SFML Window");
return 0;
}
Here is my call stack log:
#0 6E182B40 sf::VideoMode::VideoMode(this=0x403064) (D:\developpement\sfml-master\src\SFML\Window\VideoMode.cpp:40)
#1 0040140B main() (D:\xxx\Programmieren\Projektdateien\Privat\CPP\SFML_Uebung\Quellcode\Test.cpp:6)
Can anybody explain, why that happens? I have no idea what can cause this problem.