[SDL] Can not compile with SDL_image

Alexander Bierbrauer alex at polyfrag.com
Thu Jan 10 03:54:01 PST 2002


Hi,

I think you must also link to SDL_image. As far as I can see you are only linking to SDL but not SDL_image.

Try something like this:

make
gcc -o isotiler `sdl11-config --libs --cflags` -lSDL_image isotiler.c

Hope this helps.


-- 
Alexander Bierbrauer

Coder & Coordinator of polyfrag
eMail: alex at polyfrag.com
Web:   http://www.polyfrag.com
---------------------------------
~v^[running Linux Mandrake 8.1]^v~




More information about the SDL mailing list