Hello I’m trying to learn sdl1.2 because Iv’e got the book, “programming games in linux” I keep trying to compile this file :
with:
gcc main.c -lSDL -lSDLmain -Wimplicit-function-declaration -o draw
but I keep getting "undefined reference to ‘CreateHicolorPixel’ am I missing a linking handle in my gcc arguments? what am I doing wrong?
Thanks