It works perfect now :D :D
Now I can use it in my project, I didn't even need the -lSDL_gfx.
Many thanks for this fast fix!

On Thu, Dec 10, 2015 at 1:34 AM, Francesco Ariis <fa-ml@ariis.it> wrote:
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