SFML community forums
Help => General => Topic started by: kim366 on September 03, 2014, 11:24:50 am
-
I have recorded a video
http://youtu.be/tK4WDvMwWew (http://youtu.be/tK4WDvMwWew)
about what is happening, when I use font.loadFromFile. Code is in the video.
I am sure, that it's the font.loadFromFile, because I tried deleting everything else, and it still didn't work.
It doesn't even work in other projects.
I am using VS 2013.
Am I doing something wrong?
-
Make sure that you don't mix debug and release.
-
Okay I tried it in release and it works. Very strange...
-
To be more precise, you should not link to SFML release libraries in debug mode. That's probably what you did.
-
No I didn't. When I do that The window doesn't even open. I built both versions in CMake and linked both of them too. there are 2 folders. A Debug and a Release one and I have linked them properly.