[SDL] I get the following errors:

Lloyd Dupont lloyd at galador.net
Thu Aug 2 02:16:01 PDT 2001


you get a link error !
you either have to compile with gcc -Lsdl_pah -lSDL ...
or fix our LIBRARY_PATH to point also on directory containing  
libSDL.so (this will compile but not run, fix also LD_LIBRARY_PATH)

BTW it's not very beautifull to write
#include "/home/pati/SDL-1.2.2/include/SDL.h"

it's better to have
both
gcc -I/home/pati/SDL-1.2.2/include/ ..
and #include <SDL.h>

or change your C_INCLUDE_PATH env variable....

hopes this would help.




More information about the SDL mailing list