2 Jun 2003 10:04
FW: ANNOUNCE: GHC version 6.0
Simon Peyton-Jones <simonpj <at> microsoft.com>
2003-06-02 08:04:30 GMT
2003-06-02 08:04:30 GMT
-----Original Message----- From: glasgow-haskell-bugs-admin <at> haskell.org [mailto:glasgow-haskell-bugs-admin <at> haskell.org] On Behalf Of Ralf Hinze Sent: 31 May 2003 14:35 To: glasgow-haskell-bugs <at> haskell.org Subject: Re: ANNOUNCE: GHC version 6.0 > Compiling 6.0 from source fails with: > > ../../ghc/compiler/ghc-inplace -H16m -O -Wall -fffi -Iinclude '-#include > "HsOpenGL.h"' -cpp -I/usr/X11R6/include -DCALLCONV=ccall > '-DGET_PROC_ADDRESS="glXGetProcAddressARB"' -package-name OpenGL -O > -Rghc-timing -package base -split-objs -c > Graphics/Rendering/OpenGL/GL/Extensions.hs -o > Graphics/Rendering/OpenGL/GL/Extensions.o -ohi > Graphics/Rendering/OpenGL/GL/Extensions.hi > Graphics/Rendering/OpenGL/GL/Extensions.hs:42: parse error on input > `glXGetProcAddressARB' <<ghc: 3261568 bytes, 2 GCs, 20548/20548 avg/max > bytes residency (1 samples), 5M in use, 0.00 INIT (0.00 elapsed), 0.01 MUT > (0.09 elapsed), 0.01 GC (0.03 elapsed) :ghc>> make[2]: *** > [Graphics/Rendering/OpenGL/GL/Extensions.o] Fehler 1 > make[1]: *** [all] Fehler 1 > make[1]: Leaving directory > `/var/tmp/portage/ghc-6.0/work/stage2-build/libraries' make: *** [build] > Fehler 1(Continue reading)
Cheers,
S.
> The changes to get it to compile using the X11 version of GLUT were
> pretty minimal. Most of the demos work and those that don't fail
> because the OpenGL support isn't there in X11.
Could you send your changes? Perhaps I can make an "ultra-last"
release of the HOpenGL-1.0x series if it is worthwhile. And which demos
fail exactly?
> Getting it to work with the native ("Cocoa") GLUT included with Mac OS
> involved a bit more work (specifying frameworks, different
> headers---GLUT/glut.h mostly, linking against libobjc, etc.) The GLUT
> and Redbook demos seem to work fine.
Again, the changes would be interesting. Wolfgang Thaller, who seems
to be "Mr. Mac" on this mailing list, has probably done something
similar, so it would be nice to hear from him about HOpenGL 1.04, too.
The interest in Macs seems to be growing since Apple ships a more
"mainstream" OS, but, alas, I don't have access to such a platform.
This means that I depend on other people to get/keep HOpenGL running
there. The current development for HOpenGL happens in the fptools
RSS Feed