[Haskell-beginners] problem with SDL-gfx

Francesco Ariis fa-ml at ariis.it
Thu Dec 10 04:34:08 UTC 2015


On Tue, Dec 08, 2015 at 09:21:39PM -0300, Martín Villagra wrote:
> 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.

Gotcha, I forgot to to put an extra-libraries: in the .cabal file
(let me thank Ivan Perez, who had a similar problem on sdl-image and
provided the right diagnosis).

I have uploaded the new version to hackage, install it and then type:

    runhaskell -lSDL_gfx your-test-file.hs

It should work. Ciao
-F


More information about the Beginners mailing list