On Tue, 14 Apr 2009 08:25:52 +0200, Raja Koduru <[email protected]> wrote:

hi,

I am a beginner to haskell.

I am trying to install glut using "cabal install glut"
Pasting here a tail of the output
---------------------------------------------------------------------
checking for unistd.h... yes
checking windows.h usability... yes
checking windows.h presence... yes
checking for windows.h... yes
checking GL/glut.h usability... no
checking GL/glut.h presence... no
checking for GL/glut.h... no
checking for GLUT library... no
checking for GL/glut.h... (cached) no
checking GLUT/glut.h usability... no
checking GLUT/glut.h presence... no
checking for GLUT/glut.h... no
configure: error: no GLUT header found, so this package cannot be built
See `config.log' for more details.
cabal: Error: some packages failed to install:
GLUT-2.1.1.2 failed during the configure step. The exception was:
exit: ExitFailure 1
---------------------------------------------------------------------------------

But I do have "glut.h" in my "D:\ghc\ghc-6.10.2\include\mingw\GL".


Define the environment variable:
  C_INCLUDE_PATH=D:\ghc\ghc-6.10.2\include\mingw
(you can add more directories, separate them by ';')
To let the linker find the libraries, define LIBRARY_PATH.

--
Regards,
Henk-Jan van Tuyl


--
http://functor.bamikanarie.com
http://Van.Tuyl.eu/
--


_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to