   SDL_ttf Access violation
  Whenever I try to link code that has TTF_RenderText_Solid(), I get an access violation error. I tried to compile and run the code from this website http://sites.google.com/site/sdlgamer/beginner/lesson-11, because I thought it was my code that caused the Access Violation. It seems that I get this error every time there is TFF_RenderText_Solid(). Does anyone know a fix? Thanks.   
  The code you posted above does not check for failure when loading the font. My bet is that you don't have the font arial.ttf in the working directory you are running the game from; although, I could be wrong. The first thing you should probably do though is check the return value of TTF_OpenFont().Good luck,-Zael-   ;  You are right, It couldn't load a font. But the font is in the game folder, under a folder called font. This is a snippet of the code TTF_Font *font; // Declare a SDL_ttf font : fontTTF_Init(); // Initilize SDL_ttffont = TTF_OpenFont("./font/arial.ttf",24); // Open a font & set the font sizeif (font == NULL){return 1;}It returns 1.   ;  Well at this point, it is probably a safe bet that TTF_OpenFont isn't finding the font. You might want to get rid of the ./ in front. I don't know if it is causing any problems, but either way it isn't necessary. I don't know what OS you are running on, but remember that in both Mac OS X and Linux case matters in the filename.   ;  I'm on win7, but the case is fine. It just isn't working. I removes "./", still nothing.   ;  Bump   