[Haskell-beginners] Missing C libraries on windows

Magnus Therning magnus at therning.org
Thu May 7 09:55:38 UTC 2015


On 7 May 2015 at 01:14, Cameron P-B <diewlq at gmail.com> wrote:
> I'm not sure if this is the right place for this, but I've repeatedly run
> into issues when installing packages through cabal. It complains about
> missing C libraries and then explains that I can solve the problem by
> "installing the system package that provides this library". This has never
> worked for me and so I assume I'm not doing it correctly.
>
> For example, I am currently trying to install ftgl. Using
> --extra-include-dirs and --extra-lib-dirs to point at the lib and include of
> the c source folder of ftgl doesn't seem to work. Neither did putting the
> dll's in the path.
>
> The tutorial linked from the
> wiki:[https://noamlewis.wordpress.com/2012/12/16/cabal-install-ftgl-on-windows-and-getting-exes-that-use-it-to-work/]
>
> also doesn't work for me. And so I was wondering if anyone has had more
> recent success with that library and more generally if there were any
> suggestions as to what I might be doing wrong.

One easy way out of it is to switch to using Linux (e.g. in a VM).
That is, unless you absolutely have to use Windows.

/M

-- 
Magnus Therning                      OpenPGP: 0xAB4DFBA4
email: magnus at therning.org   jabber: magnus at therning.org
twitter: magthe               http://therning.org/magnus


More information about the Beginners mailing list