[Haskell-cafe] sdl-mixer loading issue

Henning Thielemann lemming at henning-thielemann.de
Tue Jun 24 16:04:41 EDT 2008


On Tue, 24 Jun 2008, Norbert Wojtowicz wrote:

> Hello,
>
> I am trying to use the SDL-mixer bindings to play wav files. I've hit
> a wierd error and I can't figure out how to solve it:
>
> Prelude> import Graphics.UI.SDL.Mixer.Music
> Prelude Graphics.UI.SDL.Mixer.Music> loadMUS "test.wav"

Is the package installed? Otherwise you may have to give an -lSDL_mixer 
option when starting ghci.



More information about the Haskell-Cafe mailing list