Hi,
i using SFML 2.0, but since i update my CodeBlocks from Version 10 to 12.11 i always get this kind of error:
Program received signal SIGSEGV, Segmentation fault.
In sf::VideoMode::VideoMode (this=0x280, modeWidth=480, modeHeight=32, modeBitsPerPixel=2) at D:\developpement\sfml-master\src\SFML\Window\VideoMode.cpp:50 ()
My main-Function looks so:
int main(int argc, char **argv) {
sf::RenderWindow window(sf::VideoMode(640, 480, 32), "Window");
/*while (window.isOpen()) {
sf::Event event;
while (window.pollEvent(event)) {
if (event.type == sf::Event::Closed)
window.close();
}
}*/
return 0;
}
I dont know what to do.