After fussing too much with VSCode and trying to compile with MinGW, I decided to try VS Community 2017 today. So I downloaded it, downloaded the Visual C++ 15 (2017) - 32-bit pre-compiled libs (and extracted to their own folder), and followed these instructions:
https://www.sfml-dev.org/tutorials/2.5/start-vc.phpWhen I tried to build the bare-minimum example in debug mode (I did link the -d libs), it builds successfully and then when I try to run it, I get this:
Exception thrown at 0x0F60FA96 (sfml-system-d-2.dll) in sfml-test.exe: 0xC0000005: Access violation reading location 0xCCCCCCD8.
And this exception pops up right next to the first line in main(),
sf::RenderWindow window(sf::VideoMode(200, 200), "SFML works!");
I've googled a lot and find people with other access violations, by not this one from the example code. If I switch to my release config, it gives me the same error but with different addresses (and says sfml-system-2.dll, omitting the d as I believe it should).
Any help / ideas would be appreciated greatly, as I'm about to give up and move on to another library because I can't get SFML to work for shit on Windows (linux was so much easier, why? why? why?)