Compiling HOpenGL Examples with GHC 6.2 Mac OS

[email protected] (Hans Nikolaus Beck)
Newsgroups gmane.comp.lang.haskell.hopengl,gmane.comp.lang.haskell.glasgow.user
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.