[Haskell-cafe] Linker Errors For OpenGL / GLUT 'Hello World'
donnie at darthik.com
Sat Sep 20 12:57:16 EDT 2008
Hello Brandon and Haskell-cafe,
(Sorry for the delayed reply...)
These seem to be the relevant lines from "configure" of OpenGL package.
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking OpenGL/gl.h usability... no
checking OpenGL/gl.h presence... no
checking for OpenGL/gl.h... no
checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes
checking OpenGL/glu.h usability... no
checking OpenGL/glu.h presence... no
checking for OpenGL/glu.h... no
That looks like to me that the gl.h and glu.h header files were found and
are usable (in some cases). I am able to build and install OpenGL and GLUT
packages for Haskell, but many errors occur as seen below during linking. I
still can't seem to figure out what is causing these linker errors...
Any other ideas? :/
On Fri, Sep 12, 2008 at 12:48 AM, Brandon S. Allbery KF8NH <
allbery at ece.cmu.edu> wrote:
> On 2008 Sep 12, at 0:24, Donnie Jones wrote:
> I am trying to test do some OpenGL / GLUT programming in Haskell, but I had
> linker issues testing the 'Hello World' OpenGL Haskell program. I believe
> the linker issues were caused because the Haskell GLUT package couldn't find
> the GLUT C libraries that were installed with Debian packages. I have
> tested that my OpenGL install does work with
> checking for GLUT library... no
> You need to check config.log from the Haskell GLUT build to see why it
> couldn't find (or possibly couldn't link with) the GLUT library.
> brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
> system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
> electrical and computer engineering, carnegie mellon university KF8NH
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe