I'm trying to install HOpenGL 2.1, with ghc 6.6 on Windows XP.
runghc Setup.hs configure seems to work fine. It gives messages about
things missing, like sh, but there are no errors.
When I run runghc Setup.hs build, I get the following error:
[ 4 of 81] Compiling
That looks like a missing C macro definition. It should probably
expand to either stdcall or ccall. A bit more information would be
helpful.
On 24 jun 2007, at 13.11, Jimmy Miller wrote:
I'm trying to install HOpenGL 2.1, with ghc 6.6 on Windows XP.
runghc Setup.hs configure seems to
No, ffi is no extra package. It would be helpful if you posted you
configure output though.
BTW, please CC the list when replying. The easiest way should be to
use the reply all feature of your mail client.
Thanks,
Thomas
On 24 jun 2007, at 15.24, Jimmy Miller wrote:
That's all I
Thanks, didn't know that.
Here's the configure output:
Configuring OpenGL-2.1...
configure: C:\ghc\ghc-6.6\bin\ghc-pkg.exe
configure: Dependency base-any: using base-2.0
configure: Using install prefix: C:\Program Files
configure: Binaries installed in: C:\Program Files\Haskell\bin
configure:
On 24 jun 2007, at 19.53, Jimmy Miller wrote:
Thanks, didn't know that.
Here's the configure output:
Configuring OpenGL-2.1...
configure: C:\ghc\ghc-6.6\bin\ghc-pkg.exe
configure: Dependency base-any: using base-2.0
configure: Using install prefix: C:\Program Files
configure: Binaries
I already installed Cygwin; I'll go over the INSTALL file and make
sure I have all the required packages.
And there was an HOpenGL tutorial from 2001 that said OpenGL would
eventually be packaged with ghc, but I tried -package OpenGL and that
didn't work, and I'm not sure where else I could
I added Cygwin to my path so sh can be found, but now configure tells
me c compiler cannot create executables
On 6/24/07, Jimmy Miller [EMAIL PROTECTED] wrote:
I already installed Cygwin; I'll go over the INSTALL file and make
sure I have all the required packages.
And there was an HOpenGL
Yes, the OpenGL website seems unmaintained. I presume the easiest
way to set it all up is to use the installer from
http://www.haskell.org/ghc/download_ghc_661.html#windows
From the size of it it seems to include all the extra packages.
/ Thomas
On 24 jun 2007, at 21.50, Jimmy Miller
I've installed ghc 6.6.1, but when I try to compile and OGL program like this:
ghc -package GLUT ogl.hs
I get the error:
Failed to load interface for `GLUT':
Use -v to see a list of the files searched for.
I tried running -v, but it doesn't tell me anything useful.
On 6/24/07, Thomas
On 25 jun 2007, at 00.18, Jimmy Miller wrote:
I've installed ghc 6.6.1, but when I try to compile and OGL program
like this:
ghc -package GLUT ogl.hs
I get the error:
Failed to load interface for `GLUT':
Use -v to see a list of the files searched for.
I tried running -v, but it
Here it is. Both OpenGL and GLUT are installed:
Cabal-1.1.6.2, GLUT-2.1.1, HUnit-1.1.1, OpenGL-2.2.1,
QuickCheck-1.0.1, Win32-2.1.1, base-2.1.1, cgi-3001.1.1, fgl-5.4.1,
filepath-1.0, (ghc-6.6.1), haskell-src-1.0.1, haskell98-1.0,
html-1.0.1, mtl-1.0.1, network-2.0.1, parsec-2.0,
I found the examples included in the source code very helpful.
http://darcs.haskell.org/packages/GLUT/examples/
I think the RedBook directory contains the most examples.
If you want to know the modules a package exports you can use, e.g..
$ ghc-pkg describe OpenGL
name: OpenGL
version:
I'll look at those.
Everything's working fine now, thanks for all of your help :)
On 6/24/07, Thomas Schilling [EMAIL PROTECTED] wrote:
I found the examples included in the source code very helpful.
http://darcs.haskell.org/packages/GLUT/examples/
I think the RedBook directory contains
13 matches
Mail list logo