[SDL] dev-cpp

Ricardo Ferrari (SPO-LAB) rferrari at cce.com.br
Fri Aug 16 10:00:01 PDT 2002


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) <rferrari at cce.com.br>
> 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 to `Mix_SetMusicCMD'
> > //c/temp/main.c:67: undefined reference to `Mix_FadeInMusic'
> > //c/temp/main.c:73: undefined reference to `Mix_FreeMusic'
> > c:\temp\resources.o: In function `LoadData':
> > //c/temp/resources.c:43: undefined reference to `IMG_Load'
> > //c/temp/resources.c:59: undefined reference to `IMG_Load'
> > //c/temp/resources.c:74: undefined reference to `IMG_Load'
> > //c/temp/resources.c:89: undefined reference to `IMG_Load'
> > //c/temp/resources.c:105: undefined reference to `IMG_Load'
> > c:\temp\resources.o://c/temp/resources.c:121: more undefined references
> to
> > `IMG_Load' follow
> > c:\temp\resources.o: In function `LoadData':
> > //c/temp/resources.c:226: undefined reference to `Mix_LoadMUS'
> > //c/temp/resources.c:232: undefined reference to `Mix_LoadWAV_RW'
> > //c/temp/resources.c:237: undefined reference to `Mix_LoadWAV_RW'
> > c:\temp\game.o: In function `init_game':
> > //c/temp/game.c:52: undefined reference to `Mix_OpenAudio'
> > //c/temp/game.c:56: undefined reference to `Mix_QuerySpec'
> > c:\temp\game.o: In function `update_ball':
> > //c/temp/game.c:294: undefined reference to `Mix_PlayChannelTimed'
> > //c/temp/game.c:296: undefined reference to `Mix_PlayChannelTimed'
> > //c/temp/game.c:300: undefined reference to `Mix_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 <krennwallner at aon dot at>
> (__\/_)_ 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20020816/648401dc/attachment.htm>


More information about the SDL mailing list