
21 Sep
2003
21 Sep
'03
5:28 p.m.
HOpenGL consists of two packages: OpenGL and GLUT, and the latter implies the former, so
ghc -package GLUT --make Hello.hs
Nope :( says GLUT is unknown package.
should work. To see which packages are installed, you can use
ghc-pkg -l
And surprizingly this gives the result rts, base, haskell98, network, haskell-src, readline, unix, lang, concurrent, posix, util, data, text, net, hssource which means neither HOpenGL, nor GLUT comes preinstalled in ghc-6.0.1 :(. Any solutions ?? Arun Kumar S Jadhav, MTech 1st Year, KReSIT, IIT-Bombay Bombay ------------------------------------ Never negotiate out of fear Never fear to negotiate