
try one of these ghc -package GLUT -package OpenGL Planet.hs -lglut ghc -package GLUT -package OpenGL Planet.hs -lglut -lGL -lGLU /usr/*/lib/libGL.so should contain glPixelStorei Am Freitag, 24. Oktober 2003 08:52 schrieb Ville Tirronen:
Hi,
I'm trying to get HOpenGL working on a unstable debian box. Since there were suitable packages available (ghc6, ghc6-hopengl) I installed those. After trying to "ghci6 -package GLUT" I get the following error message:
Loading package OpenGL ... ghc-6.0.1: can't load .so/.DLL for: GLU (/usr/ X11R6/lib/libGLU.so: undefined symbol: glPixelStorei)
With packages for ghc5 this seems to work but I cannot get any example compiled.
The result for "ghc5 --make -package GLUT Planet.hs" is:
ghc-5.04.3: can't find module `GL' (while processing "Planet.hs")
Any help appreciated, Ville Tirronen
_______________________________________________ HOpenGL mailing list HOpenGL@haskell.org http://www.haskell.org/mailman/listinfo/hopengl