Re: ANNOUNCE: Frag: a First Person Shooting game
I cannot get Frag to compile. Running "ghc --make -O2 -fglasgow-exts main.hs" gives ... Compiling Quaternion ( ./Quaternion.hs, ./Quaternion.o ) Compiling ReadImage ( ./ReadImage.hs, ./ReadImage.o ) ./ReadImage.hs:60: Type constructor or class not in scope: `PixelData' ./ReadImage.hs:68: Data constructor not in scope: `PixelData' I am using ghc 6.2.2. I have tried adding "-package GLUT" to the command line, but still the same output. Daniel __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com
Am Sonntag, 27. November 2005 16:17 schrieb Daniel Xrstadius:
[...] I am using ghc 6.2.2. I have tried adding "-package GLUT" to the command line, but still the same output.
The problem comes from an API change in the OpenGL package about 2 years ago. Upgrading to a GHC 6.4.x should help. Cheers, S.
participants (2)
-
Daniel �rstadius -
Sven Panne