Dev-cpp

for those how want to know the dev-cpp go to
http://www.bloodshed.net/devcpp.html

;)> ----- Mensagem original -----

De: Thomas Krennwallner [SMTP:krennwallner at aon.at]
Enviada em: sexta-feira, 16 de agosto de 2002 12:58
Para: sdl at libsdl.org
Assunto: Re: [SDL] MIXER

Hi!

On Fri Aug 16, 2002 at 11:48:53AM -0300, the boisterous
Ricardo Ferrari (SPO-LAB) <@Ricardo_Ferrari>
wrote to me:

i use dev-cpp

I don’t know it.

i put the heades files( SDL_mixer.h and SDL_image.h ) into the SDL
c:\devcpp\include\sdl
but when i compile it i got the follow error :

c:\temp\main.o: In function SDL_main': //c/temp/main.c:65: undefined reference toMix_SetMusicCMD’
//c/temp/main.c:67: undefined reference to Mix_FadeInMusic' //c/temp/main.c:73: undefined reference toMix_FreeMusic’
c:\temp\resources.o: In function LoadData': //c/temp/resources.c:43: undefined reference toIMG_Load’
//c/temp/resources.c:59: undefined reference to IMG_Load' //c/temp/resources.c:74: undefined reference toIMG_Load’
//c/temp/resources.c:89: undefined reference to IMG_Load' //c/temp/resources.c:105: undefined reference toIMG_Load’
c:\temp\resources.o://c/temp/resources.c:121: more undefined references
to
IMG_Load' follow c:\temp\resources.o: In functionLoadData’:
//c/temp/resources.c:226: undefined reference to Mix_LoadMUS' //c/temp/resources.c:232: undefined reference toMix_LoadWAV_RW’
//c/temp/resources.c:237: undefined reference to Mix_LoadWAV_RW' c:\temp\game.o: In functioninit_game’:
//c/temp/game.c:52: undefined reference to Mix_OpenAudio' //c/temp/game.c:56: undefined reference toMix_QuerySpec’
c:\temp\game.o: In function update_ball': //c/temp/game.c:294: undefined reference toMix_PlayChannelTimed’
//c/temp/game.c:296: undefined reference to Mix_PlayChannelTimed' //c/temp/game.c:300: undefined reference toMix_PlayChannelTimed’
//c/temp/game.c:304: undefined reference to `Mix_PlayChannelTimed’

This indicates that you don’t link with SDL_mixer and SDL_image. Try to
add the libs to your linker.

so long
Thomas


___ Obviously we do not want to leave zombies around.
/\ - W. Richard Stevens
( ^ >
/ \ Thomas Krennwallner
(
/) 1024D/67A1DA7B 9484 D99D 2E1E 4E02 5446 DAD9 FF58 4E59 67A1 DA7B


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl