Hello
I've recently ran into an issue with SFML where debugging (on visual studio 2017) consistently takes 40 seconds. Debugging was working fine, then abruptly it began taking exactly 40 seconds to load the window. The console application loads immediately, but then the SFML window takes 40 seconds.
I created a new project to see if the same issue occurred, and it did
Here's the only 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;
}