Microsoft Visual Studio Community 2015 (14.0.24720.00 Update 1)
I am compiling / running in Debug, both the release and debug .dll's are in the working directory, where they need to be. I am referencing the sfml-***-d.lib's, and I am pointing to the D:\***\SFML-2.4.0\lib and D:\***\SFML-2.4.0\include directories in my project settings.
#include "stdio.h";
#include <iostream>;
#include <SFML/Graphics.hpp>;
int main ()
{
sf::RenderWindow window( sf::VideoMode( 640, 480 ), "Title" );
std::cin.get();
}
Executing this, I get the following exception on the first line (the one with the RenderWindow constructor).
Exception thrown at 0x56D5EEB6 (sfml-system-d-2.dll) in D20 RPG.exe: 0xC0000005: Access violation reading location 0xCCCCCCD8.
I am relatively new to c++, but I have successfully completed a few assignments in an intro course and a graphics course already (using GLFW, GLEW, GLM, etc.). I have followed the tutorial
http://www.sfml-dev.org/tutorials/2.4/start-vc.php from start to finish two times now, each time starting from an empty Visual c++ project. The project compiles fine, and runs without any problems if I comment out the first line.
Any help is appreciated.