[Haskell-cafe] Linker Errors For OpenGL / GLUT 'Hello World'
sven.panne at aedion.de
Thu Oct 9 05:00:28 EDT 2008
On Saturday 20 September 2008 19:13:43 Donnie Jones wrote:
> > 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
That's correct, but that's a transcript of configure in the OpenGL package,
not the GLUT package. The OpenGL package contains the bindings for the GL and
GLU libraries, the GLUT package contains the binding for the, well, GLUT
> ### Relevant lines that include "-lGL" or "-lGLU" in config.log ###
This test is again OK, it first checks if we have to link against glu32 (for
Windows) or GLU (for the rest of the world) to use GLU features. But again,
this excerpt is from the config.log of the OpenGL package, not the GLUT
> It seems like the OpenGL and GLUT libraries are found (after -lglu32 fails,
> I am using Debian Linux). I am not sure what to try now.
What you have posted so far indicates that the GL and GLU headers and
libraries have been found, but for GLUT only the header has been found. Could
you please post the relevant part of the config.log in the GLUT package, i.e.
the part for "checking for GLUT library... no"? Where is the GLUT library on
your system located?
Does anybody else have a similar problem?
More information about the Haskell-Cafe