[HOpenGL] Compiling HOpenGL Examples with GHC 6.2 Mac OS

Hans Nikolaus Beck HNBeck at t-online.de
Tue Jan 6 13:45:44 EST 2004


Hi,

as far as I understand now, for my compiliing problem (see last past 
with same subject) I must do

ghc -package OpenGL -package GLUT --make Cube.hs

and in the code doing

import OpenGL
import GLUT

Right so far ?

But it seems that the package description in the GHC 6.2 distribution 
is not right for this packages (OpenGL and GLUT), for both the 
directory $(InstallDir)/Graphics/Rendering and 
$(InstallDir)/Graphics/UI is used .....???

Greetings


Hans



More information about the HOpenGL mailing list