Hey,
I'm trying to compile a SDL TTF program for the first time with GCC but I can't get the flags right. I'm using:
gcc -std=c99 -Wall game.c -I/usr/include/SDL2 -I/usr/include/SDL/ -lSDL2 -o game
I have TFF2.0 installed in the default Linux location. The only TTF function I have used is TTF_Init(). I keep getting this error "undefined reference to `TTF_Init'"
I have included <SDL_ttf.h>.