[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

SDL



Bom dia,
Estou desenvolvendo em SDL, baixei as libs via apt, instalei os pacotes -dev para poder compilar normalmente
mas quando eu tento compilar aparecem os seguintes erros:

marcelo@debian:~/game$ gcc -o test test.c
/tmp/ccSi3wfn.o(.text+0x2a): In function `main':
: undefined reference to `SDL_Init'
/tmp/ccSi3wfn.o(.text+0x33): In function `main':
: undefined reference to `SDL_GetError'
/tmp/ccSi3wfn.o(.text+0x7c): In function `main':
: undefined reference to `SDL_SetVideoMode'
/tmp/ccSi3wfn.o(.text+0x8a): In function `main':
: undefined reference to `SDL_GetError'
/tmp/ccSi3wfn.o(.text+0x199): In function `DrawPixel':
: undefined reference to `SDL_MapRGB'
/tmp/ccSi3wfn.o(.text+0x1c0): In function `DrawPixel':
: undefined reference to `SDL_LockSurface'
/tmp/ccSi3wfn.o(.text+0x30b): In function `DrawPixel':
: undefined reference to `SDL_UnlockSurface'
/tmp/ccSi3wfn.o(.text+0x334): In function `DrawPixel':
: undefined reference to `SDL_UpdateRect'
collect2: ld returned 1 exit status
marcelo@debian:~/game$
~

alguem poderia me dar um help?

--
Stranjo R Quarentino

msn: rockristao@gmail.com
blog: http://rockristao.blogspot.com
Reply to: