
1) install "cabal-install". download this filehttp://www.haskell.org/cabal/release/cabal-install-0.6.2/cabal.exe and put it in a directory in your %PATH% 2) to compile most libraries on Hackage that link to C libraries via the FFI, you need to install MinGW and MSYS, as Jeff said explained herehttp://netsuperbrain.com/blog/posts/freeglut-windows-hopengl-hglut/ (many thanks to David Sankel for taking the time to write this). After you installed this, you have UNIX like environment and the GNU C compiler suite. 3) start MSYS, and type "cabal install opengl". This will download, configure, build and install opengl from hackage. this works for me. Instead of GLUT you can also use GLFW; the install this, just type "cabal install GLFW" On Wed, Apr 8, 2009 at 7:14 AM, Alexandr N. Zamaraev < tonal.promsoft@gmail.com> wrote:
I get darcs source HOpenGL Try runghc Setup.hs configure I see: Configuring OpenGL-2.3... Warning: The 'build-type' is 'Configure' but there is no 'configure' script. Setup.hs: configure script not found.
runghc Setup.hs build wrote: Preprocessing library OpenGL-2.3... Building OpenGL-2.3...
Graphics\Rendering\OpenGL\GL\ BasicTypes.hs:24:0: HsOpenGLConfig.h: No such file or directory
How to build HOpenGL?
Os Windows Vista Home Ru + sp ghc 6.10.1 ______________________________ _________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe