[HOpenGL] Installing HOpenGL

Michael Stout stoutm@btopenworld.com" <stoutm@btopenworld.com
Fri, 15 Nov 2002 13:32:13 -0800


Hi
this is my first posting to this group so please excuse me if I'm missing 
something obvious - I could not find a soultion by searching the archive 
filr for this mail list.

I'm trying to get HopenGL working on W98 using

HOpenGL-1.03
GHC-5.04.1
Greencard-2.03
Cygwin 2.78.2.3

I've copied /usr/include/GL to [ghcpath]/include/GL

./configure is fine
make depend is fine
make all gives:

------------------------------------------------------------------------  
----------------------
GL_VertexArray.hs:156:
    Warning: foreign declaration uses deprecated non-standard syntax

GL_VertexArray.hs:161:
    Warning: foreign declaration uses deprecated non-standard syntax

GL_VertexArray.hs:166:
    Warning: foreign declaration uses deprecated non-standard syntax

GL_VertexArray.hs:171:
    Warning: foreign declaration uses deprecated non-standard syntax

GL_VertexArray.hs:176:
    Warning: foreign declaration uses deprecated non-standard syntax

GL_VertexArray.hs:235:
    Warning: foreign declaration uses deprecated non-standard syntax

GL_VertexArray.hs:241:
    Warning: foreign declaration uses deprecated non-standard syntax

GL_VertexArray.hs:312:
    Warning: foreign declaration uses deprecated non-standard syntax
c:\WINDOWS\TEMP\ghc-66436291.hc: In function `saI0_ret':
c:\WINDOWS\TEMP\ghc-66436291.hc:497: `GL_UNSIGNED_INT_10_10_10_2' 
undeclared (first use in this function)
c:\WINDOWS\TEMP\ghc-66436291.hc:497: (Each undeclared identifier is 
reported only once
c:\WINDOWS\TEMP\ghc-66436291.hc:497: for each function it appears in.)
c:\WINDOWS\TEMP\ghc-66436291.hc:502: `GL_UNSIGNED_INT_8_8_8_8_REV' 
undeclared (first use in this function)
c:\WINDOWS\TEMP\ghc-66436291.hc:507: `GL_UNSIGNED_INT_8_8_8_8' undeclared 
(first use in this function)
c:\WINDOWS\TEMP\ghc-66436291.hc:512: `GL_UNSIGNED_SHORT_1_5_5_5_REV' 
undeclared (first use in this function)
c:\WINDOWS\TEMP\ghc-66436291.hc:517: `GL_UNSIGNED_SHORT_5_5_5_1' undeclared 
(first use in this function)
c:\WINDOWS\TEMP\ghc-66436291.hc:522: `GL_UNSIGNED_SHORT_4_4_4_4_REV' 
undeclared (first use in this function)
c:\WINDOWS\TEMP\ghc-66436291.hc:527: `GL_UNSIGNED_SHORT_4_4_4_4' undeclared 
(first use in this function)
c:\WINDOWS\TEMP\ghc-66436291.hc:532: `GL_UNSIGNED_SHORT_5_6_5_REV' 
undeclared (first use in this function)
c:\WINDOWS\TEMP\ghc-66436291.hc:537: `GL_UNSIGNED_SHORT_5_6_5' undeclared 
(first use in this function)
c:\WINDOWS\TEMP\ghc-66436291.hc:542: `GL_UNSIGNED_BYTE_2_3_3_REV' 
undeclared (first use in this function)
c:\WINDOWS\TEMP\ghc-66436291.hc:547: `GL_UNSIGNED_BYTE_3_3_2' undeclared 
(first use in this function)
c:\WINDOWS\TEMP\ghc-66436291.hc:612: `GL_UNSIGNED_INT_2_10_10_10_REV' 
undeclared (first use in this function)
c:\WINDOWS\TEMP\ghc-66436291.hc: In function 
`GLzuVertexArray_zdwunmarshallzuType_fast1':
c:\WINDOWS\TEMP\ghc-66436291.hc:822: `GL_UNSIGNED_BYTE_3_3_2' undeclared 
(first use in this function)
c:\WINDOWS\TEMP\ghc-66436291.hc:824: `GL_UNSIGNED_BYTE_2_3_3_REV' 
undeclared (first use in this function)
c:\WINDOWS\TEMP\ghc-66436291.hc:826: `GL_UNSIGNED_SHORT_5_6_5' undeclared 
(first use in this function)
c:\WINDOWS\TEMP\ghc-66436291.hc:828: `GL_UNSIGNED_SHORT_5_6_5_REV' 
undeclared (first use in this function)
c:\WINDOWS\TEMP\ghc-66436291.hc:830: `GL_UNSIGNED_SHORT_4_4_4_4' undeclared 
(first use in this function)
c:\WINDOWS\TEMP\ghc-66436291.hc:832: `GL_UNSIGNED_SHORT_4_4_4_4_REV' 
undeclared (first use in this function)
c:\WINDOWS\TEMP\ghc-66436291.hc:834: `GL_UNSIGNED_SHORT_5_5_5_1' undeclared 
(first use in this function)
c:\WINDOWS\TEMP\ghc-66436291.hc:836: `GL_UNSIGNED_SHORT_1_5_5_5_REV' 
undeclared (first use in this function)
c:\WINDOWS\TEMP\ghc-66436291.hc:838: `GL_UNSIGNED_INT_8_8_8_8' undeclared 
(first use in this function)
c:\WINDOWS\TEMP\ghc-66436291.hc:840: `GL_UNSIGNED_INT_8_8_8_8_REV' 
undeclared (first use in this function)
c:\WINDOWS\TEMP\ghc-66436291.hc:842: `GL_UNSIGNED_INT_10_10_10_2' undecl  
ared (first use in this function)
c:\WINDOWS\TEMP\ghc-66436291.hc:844: `GL_UNSIGNED_INT_2_10_10_10_REV' 
undeclared (first use in this function)
c:\WINDOWS\TEMP\ghc-66436291.hc: In function `saJz_ret':
c:\WINDOWS\TEMP\ghc-66436291.hc:3163: warning: implicit declaration of 
function `glDrawRangeElements'
make[1]: *** [GL_VertexArray.o] Error 1
make: *** [all] Error 1

------------------------------------------------------------------------  
----------------------

Can anyone advise.

Thanks in anticipation.

Mike