Yes, i did.
I compiled the samples without errors. When i used them they ran flawlessly too. So i copied the code from the sample window to my project and it worked :shock: I deleted the opengl code and libs and the result was what i had previously, the window tutorial. It ran without a problem... AFAIK there was no change.
This was all in debug mode so i tried it with release mode. I got this error:
error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall sf::Window::Window(class sf::VideoMode,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned long,struct sf::WindowSettings const &)" (__imp_??0Window@sf@@QAE@VVideoMode@1@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@KABUWindowSettings@1@@Z)
I don't think this is equal to the error that brought me here in the first place but i could be wrong.
And now i removed the comments to paste the code, built and it ran without a problem. i didn't change absolutely anything :?
Now it just crashes in release mode, and only if i start without debugging (CTRL + F5). I debug it and it runs perfectly. Only a few times in debug mode i can see it crashes in
sf::Window window(sf::VideoMode(640, 480, 32), "SFML Window");
This is getting too strange... These crashes appear almost randomly.