On 25 jun 2007, at 00.18, Jimmy Miller wrote:

I've installed ghc 6.6.1, but when I try to compile and OGL program like this:

ghc -package GLUT ogl.hs

I get the error:
Failed to load interface for `GLUT':
     Use -v to see a list of the files searched for.

I tried running -v, but it doesn't tell me anything useful.

Can you post the output of "ghc-pkg list"? If that doesn't list GLUT, then it is not installed (or not correctly). If it is installed, you can try

  ghc --make ogl.hs

That usually takes care of all the required packages (so can avoid a lot of fiddling around).

/ Thomas
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to