
Hi all, I just installed ghc-6.0.1 which apparantly comes built in with HOpenGL (In any case I've HOpenGL installed). But the simple Hello.hs which comes as example in HOpenGL package didn't compile. When I do $ ghc -package HOpenGL --make Hello.hs I get the following error ghc-6.0.1: unknown package name: HOpenGL Now, how to overcome this, will be great if someone can post the solution to this. Regards, Arun Kumar S Jadhav Masters Student, SIC-309, KReSIT, IIT-Bombay, India Ph: +91-22-25764967 http://www.it.iitb.ac.in/~arunk

Arunkumar S Jadhav wrote:
[...] When I do
$ ghc -package HOpenGL --make Hello.hs
I get the following error
ghc-6.0.1: unknown package name: HOpenGL
HOpenGL consists of two packages: OpenGL and GLUT, and the latter implies the former, so ghc -package GLUT --make Hello.hs should work. To see which packages are installed, you can use ghc-pkg -l Cheers, S.
participants (2)
-
Arunkumar S Jadhav
-
Sven Panne