<div dir="ltr">Same error :/<div>The include folder (<span style="font-size:12.8px">/usr/include/SDL/</span><span style="font-size:12.8px">) </span>contained the expected files. (SDL_framerate.h and others)</div><div><div>I even recompiled and reinstalled the library but still says the same.</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 8, 2015 at 3:58 PM, Francesco Ariis <span dir="ltr"><<a href="mailto:fa-ml@ariis.it" target="_blank">fa-ml@ariis.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Dec 08, 2015 at 12:44:18PM -0300, Martín Villagra wrote:<br>
> Hello!<br>
> I hope you can help me. I'm trying to use SDL-gfx but it seems it isn't<br>
> linking it correctly. When I try to run this simple file with runhaskell:<br>
> import Graphics.UI.SDL.Primitives<br>
> main = putStrLn "Hello"<br>
><br>
> It gives:<br>
> sdl.test.hs: <command line>: can't load .so/.DLL for:<br>
</span>> [..]<br>
<br>
Hello Martín, SDL-gfx maintainer here. Could you try:<br>
<br>
runhaskell -L/usr/include/SDL/ -lSDL_gfx prova.hs<br>
<br>
(this works in Debian, modify the -L dir appropriately if you are using<br>
Arch).<br>
_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br>
</blockquote></div><br></div>