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@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@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners