Reputation: 2002
I’m trying to install SDL within cabal for Haskell, in MinGW, but I got some problems. cabal can’t find the C library, and I don’t know why. Here some info:
make native
it: it’s installed in /usr/include/SDL
and /usr/lib
;cabal install SDL
, it failed because it can’t find both the header file and the lib ;cabal install SDL --extra-include-dirs=/usr/include/SDL --extra-lib-dirs=/usr/lib
. It finds the header file but still not the lib ;SDL.dll
in /usr/lib
, still have the same trouble ;/usr/lib
to both the PATH
and LD_LIBRARY_PATH
, still can’t find that @!#* C lib.Do you have an idea?
Upvotes: 5
Views: 541