SFML community forums
Help => Graphics => Topic started by: lohr on June 24, 2008, 08:59:48 am
-
Hello,
I have 2 different problems...I am actually working me through the different tutorials and now i have my first problems.
I am using the Microsoft VC 2005 Full.
If I do this(same with sprites and images):
if (!BackgroundImage.LoadFromFile("background.jpg"))
return EXIT_FAILURE;
i get following error:
Unbehandelte Ausnahme bei 0x7c43eba2 in SFML.exe: 0xC0000005: Zugriffsverletzung beim Lesen an Position 0x00133000.
the picture is at the right place...
If i want to run the shape tutorial, i am getting this:
Unbehandelte Ausnahme bei 0x104817fd (msvcp80d.dll) in SFML.exe: 0xC0000005: Zugriffsverletzung beim Schreiben an Position 0xcccccccc.
and he is jumping to debuging in "xutility"...
Any tips here?
Thank you very much!
Regards,
Alex "lohr"
-
Are you using debug SFML libraries (sfml-xxx-d.lib) in debug build ? Mixing release libraries with debug build (and vice-versa) can lead to this kind of crash.
-
Thank you very much :)
All is working fine now!