Hello everyone,
I am following along with the SFML Game Development book, everything was going fine until I hit chapter 3.
I finished the chapter, wrote all the code for the chapter, it compiles with no problems but when I run it I get the following error:
Unhandled exception at 0x0FDA271C (sfml-graphics-d-2.dll) in CH3 TEST.exe: 0xC0000005: Access violation reading location 0x43A00004.In the 'locals' window in visual studio, variables like mSprite have the following message:
mSprite <Information not available, no symbols loaded for sfml-graphics-d-2.dll> I have included a screenshot so you can get an idea:
http://imgur.com/pemX3rYSome more information:I compiled SFML myself to use it with Visual Studio 2013. It was working perfectly and I was able to run the code from chapters 1 and 2 with no problems.
I downloaded the latest code for the book I could find on github, after building them the .exe run fine.
I created a new project and used the code from the Github page.
As before, it compiles with no problems but when I run it the same error comes up (detailed in the screenshot above).
Any ideas of what might be going on?
Please help and thank you for your time