I Just did the setup of SFML and trying to run the code they give at the end of the setup 2.2 for visual studio. I have gone through and linked everything as it states tried running said I was missing the sfml-graphics-d-2.dll so I grabbed all the .dll files and moved them to my project folder, got past that part and asked for 2 more .dll's I went and got them and put them in my project folder but now when I try to run the program i get
"An unhandled exception of type 'System.AccessViolationException' occurred in sfml pratice.exe
Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
i have figured that the problem is coming from the line: window.draw(shape); because if i comment it out the program works fine.
i can not seem to find anything about this on SFML. anyone else had this same problem?
btw the other 2 files it asked for were msvcp110d.dll and msvcr110d.dll