[SDL] Help me linux

david monta davmoram at hotmail.com
Mon Jun 6 15:54:56 PDT 2005


I have a problem using SDL, when I try to compile a .cpp program i get some 
errors when the function SDL_Init is invoced, they are like "reference 
SDL_Init not define", and i don`t know what to do.  I ran the following 
commands and the results ar show belong:

[root at localhost root]# which sdl-config

/usr/local/bin/sdl-config

[root at localhost root]# sdl-config --version

1.2.8

[root at localhost root]# locate libSDL

/usr/lib/libSDL-1.2.so.0.0.5

/usr/lib/libSDL-1.2.so.0

/usr/lib/libSDL_mixer-1.2.so.0.2.2

/usr/lib/libSDL_mixer-1.2.so.0

/usr/lib/libSDL_net-1.2.so.0.0.4

/usr/lib/libSDL_net-1.2.so.0

/usr/lib/libSDL_image-1.2.so.0

/usr/lib/libSDLmain.a

/usr/lib/libSDL_image-1.2.so.0.1.1

/usr/lib/libSDL_mixer.a

/usr/lib/libSDL_mixer.la

/usr/lib/libSDL_mixer.so

/usr/lib/libSDL_net.a

/usr/lib/libSDL_net.so

/usr/lib/libSDL.a

/usr/lib/libSDL.la

/usr/lib/libSDL.so

/usr/lib/libSDL_image.a

/usr/lib/libSDL_image.so

root at localhost root]# tail SDL-1.2.8/config.log

#define PACKAGE_STRING ""

#define PACKAGE_TARNAME ""

#define PACKAGE_VERSION ""

#define STDC_HEADERS 1

#define VERSION "1.2.8"

#endif

#ifdef __cplusplus

extern "C" void std::exit (int) throw (); using std::exit;

configure: exit 0

Thanks

_________________________________________________________________
MSN Amor: busca tu ½ naranja http://latam.msn.com/amor/





More information about the SDL mailing list