haskell - installing sdl2 with cabal -
i trying install sdl2 package haskell via cabal under windows. , after rather tedious configuration, getting error:
c:\users\kaervin>cabal install sdl2 --extra-include-dirs=c:\sdl2-2.0.3\include --extra-lib-dirs=c:\sdl2-2.0.3\i686-w64-mingw32\lib resolving dependencies... configuring sdl2-1.3.1... building sdl2-1.3.1... failed install sdl2-1.3.1 last 10 lines of build log ( c:\users\kaervin\appdata\roaming\cabal\logs\sdl2-1.3.1.log ): c:\users\kaervin\appdata\local\temp\sdl2-1.3.1-8956\sdl2-1.3.1\dist\doc\html\sdl2 doesn't exist or isn't directory sdl2-1.3.1: library-dirs: /usr/local/cross-tools/i686-w64-mingw32/lib relative path makes no sense (as there nothing relative to). can make paths relative package database using ${pkgroot}. (use --force override) sdl2-1.3.1: include-dirs: /usr/local/cross-tools/i686-w64-mingw32/include/sdl2 relative path makes no sense (as there nothing relative to). can make paths relative package database using ${pkgroot}. (use --force override) cabal: error: packages failed install: sdl2-1.3.1 failed during building phase. exception was: exitfailure 1
i using:
c:\users\kaervin>cabal --version cabal-install version 1.18.0.5 using version 1.18.1.3 of cabal library
i appreciate help!
Comments
Post a Comment