Today I decided to revive an old project I haven't touched for a while, and I'm currently updating it with the new changes to sfml 2.
I have been able to fix most things easily, but here I don't know what possibly could be wrong.
sf::RenderWindow window;
This line takes, in my current project, ~20 seconds to process.
It works fine, it's just very slow.
sf::RenderWindow window;
sf::RenderWindow window2;
sf::RenderWindow window3;
This code takes just as long to process as the single line above.
I tried making a new clean project and ran only that line in the main function, and it processed it instantly.
Now, I have a lot of code in my project, but I don't think any of it could affect it in this way.
I'm using the Qt libs in my project and use Qt Creator (mingw) on Windows 7 (64bit) to compile.
Does anyone have a clue what could be the problem?