Compiling HOpenGL Examples with GHC 6.2 Mac OS

Hans Nikolaus Beck HNBeck at
Tue Jan 6 13:45:44 EST 2004


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 .....???



More information about the Glasgow-haskell-users mailing list