
8 Dec
2015
8 Dec
'15
6:58 p.m.
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).