Configuring hp2any-graph-0.5.4.2...
setup-Cabal-1.18.1.3-x86_64-windows-ghc-7.8.3.exe: Missing dependency on a
foreign library:
* Missing C library: glut
This problem can usually be solved by installing the system package that
provides this library (you may need the "-dev" version). If the library is
already installed but in a non-standard location then you can use the flags
--extra-include-dirs= and --extra-lib-dirs= to specify where it is.
cabal: Error: some packages failed to install:
hp2any-graph-0.5.4.2 failed during the configure step. The exception was:
ExitFailure 1
Hot fix - replace extra-libs clause by:
if os(windows)
extra-libraries: glut32
else
extra-libraries: glut
Building with Haskell Platform 2014.2.0.0
When building:
Hot fix - replace
extra-libs
clause by: