[Haskell-beginners] Haskell OpenGL trouble
gandolfmatt at gmail.com
Sat Aug 1 22:02:54 EDT 2009
I am currently running Mac OS 10.5.7, and I have install many Haskell files,
compiled a bouncing ball example, fixed the enableGUI bug, tried an IDE, and
have started installing graphics libraries.
I am using Cabal in the terminal to install what I need, though whenever I
try to install opengl or a package of opengl; it comes up with an error.
Macintosh-2:opengl matthew$ sudo cabal install
cabal: Missing dependency on a foreign library:
* Missing C library: GL
This problem can usually be solved by installing the system package that
provides this library (you may need the "-dev" version). If the library is
already installed but in a non-standard location then you can use the flags
--extra-include-dirs= and --extra-lib-dirs= to specify where it is.
cabal: Error: some packages failed to install:
GLURaw-184.108.40.206 depends on OpenGLRaw-220.127.116.11 which failed to install.
OpenGL-18.104.22.168 depends on OpenGLRaw-22.214.171.124 which failed to install.
OpenGLRaw-126.96.36.199 failed during the configure step. The exception was:
exit: ExitFailure 1
It appears that I have zoned onto the bit that's causing all this mess, I'm
missing a C library: GL.
Unfortunately after googling a while I have found no answer.
Am I doing something wrong? Is there another way? Could there be a fix?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners