SFML community forums
Help => Window => Topic started by: BorisSaid on March 08, 2017, 02:40:20 pm
-
Before you tell me to go look at previous posts on this topic, let me tell that I have tried debugging this for a very very long time. I've tried multiple pictures, using the relative directory and not relative directory and spreading the picture out. Here is my code http://pastebin.com/RD43AgaQ
Thanks in advance for your help and support.
-
You're probably mixing debug and release libs.
-
I'll check that
-
I have one of each debug and one of each release lib, which type should I have?
-
Link only the ones you are using: debug libraries during debug build, release libraries during release build.
Make sure that the different files used are exactly the same version (including the actual compiled library that accompanies the executable file). By 'version', I mean debug/release, 32-bit/64-bit, as well as the SFML release version.
Also, remember to use break after each case in your switch statement.