[HOpenGL] How to compile a hopengl program?

Jan Rochel janni@hacker7.net
Mon, 21 Apr 2003 12:30:59 +0200


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