[Haskell-beginners] Haskell OpenGL trouble

Matt f 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
Resolving dependencies...
Configuring OpenGLRaw-1.0.1.0...
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-1.0.0.0 depends on OpenGLRaw-1.0.1.0 which failed to install.
OpenGL-2.3.0.0 depends on OpenGLRaw-1.0.1.0 which failed to install.
OpenGLRaw-1.0.1.0 failed during the configure step. The exception was:
exit: ExitFailure 1
Macintosh-2:opengl matthew$

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?


Thanks,
-Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/beginners/attachments/20090801/f025e7bd/attachment-0001.html


More information about the Beginners mailing list