hello, I have a problem with version 2 to run crash. The report windows
Problem signature:
Problem Event Name: APPCRASH
Application Name: sfml2f.exe
Application Version: 0.0.0.0
Timestamp implementation: 51807223
Faulting module name: SFML-window-2.dll
Fault Module Version: 0.0.0.0
Timestamp Fault Module: 516149c9
Exception Code: c0000005
Exception Offset: 00002f3d
OS Version: 6.1.7600.2.0.0.256.48
Locale ID: 13322
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
Run Code
#include <SFML/Graphics.hpp>
int main()
{
sf::RenderWindow window(sf::VideoMode(200, 200), "SFML works!");
sf::CircleShape shape(100.f);
shape.setFillColor(sf::Color::Green);
while (window.isOpen())
{
sf::Event event;
while (window.pollEvent(event))
{
if (event.type == sf::Event::Closed)
window.close();
}
window.clear();
window.draw(shape);
window.display();
}
return 0;
}
sorry for my bad english.