[Haskell-beginners] problem with SDL-gfx

Martín Villagra mvillagra0 at gmail.com
Wed Dec 9 00:21:39 UTC 2015


Same error :/
The include folder (/usr/include/SDL/) contained the expected files.
(SDL_framerate.h and others)
I even recompiled and reinstalled the library but still says the same.

On Tue, Dec 8, 2015 at 3:58 PM, Francesco Ariis <fa-ml at ariis.it> wrote:

> 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).
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20151208/2353f2d1/attachment.html>


More information about the Beginners mailing list