[HOpenGL] compilation problems

Shuying Wang swan936@cse.unsw.EDU.AU
Fri, 4 Jan 2002 11:19:29 +1100 (EST)


Hi,

I've just joined the list and have looked through the backlog of emails
but I don't see anyone who's had my problems. Just a few questions...

I would like to know what @green_card_comma@ does, as that generated an
error in GLUT_Init.gc when I ran make depend. Replacing
"@green_card_comma@"  with "," seems to resolve it.

Also, I have glut3 but code pertaining to glut4.x wasn't commented out? I
had a look at configure.in and under " Test GLUT Xlib implementation", I
think something like

else
    glut_geq_4_9="-- "
    glut_geq_4_11="--"
    glut_geq_4_13="-- "

is missing?

Then I ran make, and I got the following error:

/usr/bin/ghc -syslib lang -split-objs -odir GL_Errors -fglasgow-exts
-I/usr/X11R6/include "-#include <GL/glut.h>" -recomp -Wall -O   -c
GL_Errors.hs -o GL_Errors.o
/tmp/ghc6071.hc: In function `s2n5_ret':
/tmp/ghc6071.hc:295: `GLU_INCOMPATIBLE_GL_VERSION' undeclared (first use
in this function)
/tmp/ghc6071.hc:295: (Each undeclared identifier is reported only once
/tmp/ghc6071.hc:295: for each function it appears in.)
/tmp/ghc6071.hc: In function `GLzuErrors_zdwunmarshallzuError_fast1':
/tmp/ghc6071.hc:654: `GLU_INCOMPATIBLE_GL_VERSION' undeclared (first use
in this function)
make[1]: *** [GL_Errors.o] Error 1

And I'm not sure what I'm missing. Can someone please help me?

I tried installing HOpenGL-1.01 with gc-2.03 and ghc-5.02 under debian
(woody).


thanks,
Shuying