Hello,
I am having trouble whenver I try to load a font. When I goto load the font, the program shows a bunch of text in the console window, then crashes. However when I compile it without a font, it builds and runs normally.
game.h
Font GameFont;
game.cpp
if(!GameFont.loadFromFile("sansation.ttf"))
{
exit(EXIT_FAILURE);
}
Not sure what the problem. Sorry if I posted in the wrong section. I'm using SFML 2.0, Visual Studio 2012 Express. Windows 7 64-bit Ultimate. Nvidia Graphics card 8600M GT. It says the program exits with a code of 0x1