[Haskell-cafe] How to install HOpenGL to Windows?
bugfact at gmail.com
Wed Apr 8 15:02:22 EDT 2009
1) install "cabal-install". download this
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
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
On Wed, Apr 8, 2009 at 7:14 AM, Alexandr N. Zamaraev <
tonal.promsoft at 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'
> 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 at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe