Hello,
I've been trying to start c++ the last couple of days. After many problems I finally managed to even access the sfml library. However, I'm getting an error on the very first line of my test program.
First-chance exception at 0x6903b212 in SFML_TEST.exe: 0xC0000005: Access violation reading location 0x00000008.
Here is the source code :
#include <iostream>
#include <SFML\Window.hpp>
#include <SFML\Graphics.hpp>
int main()
{
sf::RenderWindow Game(sf::VideoMode(800, 600), "SFML Window");
/*sf::Event Event;
while(Game.IsOpened())
{
while(Game.PollEvent(Event))
{
switch(Event.Type)
{
case sf::Event::Closed:
Game.Close();
break;
}
}
Game.Display();
}*/
return 0;
}
I did fiddle around alot with visual studio to get the SFML library to work, I'm getting a lot of " Cannot find or open the PDB file" messages in the output. I've reinstalled a couple of times but I do notice that some settings are not reset.
This exact same project works perfectly on my work pc btw :/