DerelictOrg and SDL_Mixer

torea via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Nov 24 13:19:38 PST 2014


Hi all,

I'm playing a bit with D and SDL using DerelictOrg on debian 6. 
I've installed SDL2, SDL_mixer2 and the latest packages 
DerelictUtil and DerelictSDL2.
I can display some stuffs and interact with the keys.
Now I'm trying to add music and sounds but each time I try to 
access a function from SDL_mixer ( I tried with Mix_openAudio and 
Mix_LoadWav ), I get a segmentation fault.
These functions are defined in the mixer.d file in the 
DerelictSDL2 package but I guess I miss something concerning the 
link to the real sdl_mixer lib file.
Is there a specific way to install the sdl_mixer package with 
DerelictSDL2?


More information about the Digitalmars-d-learn mailing list