Problems with SDL_Mixer on Mac

Mark Harviston infinull at gmail.com
Thu Mar 16 13:45:41 PST 2006


Anders F Björklund wrote:
> Mark Harviston wrote:
> 
>> Thank you, but
>> make LDFLAGS="-L/sw/lib/ -L.
>> still gives me the __ModuleInfo_5mixer undefined error again
>> I have tried many variations, like:
>> make LDFLAGS="-L. -L./sdl/ -L/sw/lib"
>> so maybe that is not the problem.
>> ideas?
> 
> 
> Is the mixer.d actually *in* the D library ?
> 
> Maybe you need another .o, beyond the .a ?
> (I think SDL_Mixer is an add-on to SDL, yes?)
> 
> --anders
SDL Mixer is an addon.

O.K. I added mixer.o to the .o list in the makefile
I tried a make and a make LDFLAGS="-L. -L/sw/lib -lSDL_mixer"
and low and behold it worked.
my main problem there was I forgot the _ but I figured that out.

Thanks for all the help,
--Mark



More information about the D.gnu mailing list