[Haskell-beginners] problem with SDL-gfx
Francesco Ariis
fa-ml at ariis.it
Tue Dec 8 18:58:46 UTC 2015
On Tue, Dec 08, 2015 at 12:44:18PM -0300, Martín Villagra wrote:
> Hello!
> I hope you can help me. I'm trying to use SDL-gfx but it seems it isn't
> linking it correctly. When I try to run this simple file with runhaskell:
> import Graphics.UI.SDL.Primitives
> main = putStrLn "Hello"
>
> It gives:
> sdl.test.hs: <command line>: can't load .so/.DLL for:
> [..]
Hello Martín, SDL-gfx maintainer here. Could you try:
runhaskell -L/usr/include/SDL/ -lSDL_gfx prova.hs
(this works in Debian, modify the -L dir appropriately if you are using
Arch).
More information about the Beginners
mailing list