How to compile a hopengl program?

Hi, I'm trying to compile the hopengl program: http://www.haskell.org/HOpenGL/examples/BezMesh.hs But I get the following error with ghc version 5.04.3: --------------------------------------------------------------------------------------------- bas@BASSBOX> ghc -package GLUT -package OpenGL BezMesh.hs BezMesh.hs:12: failed to load interface for `GL': Could not find interface file for `GL' --------------------------------------------------------------------------------------------- Does it have something to do with a wrong packagename??? Greetings, Bas.

Bas van Dijk wrote:
I'm trying to compile the hopengl program: http://www.haskell.org/HOpenGL/examples/BezMesh.hs
bas@BASSBOX> ghc -package GLUT -package OpenGL BezMesh.hs
[Error]
Does it have something to do with a wrong packagename???
Yes, you have to compile it with: ghc -package HOpenGL BezMesh.hs
participants (2)
-
Bas van Dijk
-
Jan Rochel