[ODE] Undefined Reference [..] glu* (ODE CVS 20051209)

Esben Stien b0ef at esben-stien.name
Sat Dec 10 18:48:24 MST 2005


Getting this, trying to compile latest: 

../../drawstuff/src/libdrawstuff.a(drawstuff.o)(.text+0x71f): In function `Texture::Texture(char*)':
/src/ode-cvs-20051209/ode/drawstuff/src/drawstuff.cpp:250: undefined reference to `gluBuild2DMipmaps'
../../drawstuff/src/libdrawstuff.a(drawstuff.o)(.text+0x8fb): In function `Texture::Texture(char*)':
/src/ode-cvs-20051209/ode/drawstuff/src/drawstuff.cpp:250: undefined reference to `gluBuild2DMipmaps'
collect2: ld returned 1 exit status
make[2]: *** [dstest] Error 1
make[2]: Leaving directory `/src/ode-cvs-20051209/ode/drawstuff/dstest'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/src/ode-cvs-20051209/ode/drawstuff'
make: *** [all-recursive] Error 1

The configure script reports: 

checking for GL/gl.h... yes
checking for GL/glu.h... yes
checking for GL/glext.h... yes
checking for main in -lGL... yes
checking for main in -lGLU... no
checking for main in -lopengl32... no
checking for main in -lglu32... no

, but completes without halting. 

I've never installed mesa-lib, so I wonder if it's me lacking mesa or
some compiler flag is wrong in the makefile.

-- 
Esben Stien is b0ef at e     s      a             
         http://www. s     t    n m
          irc://irc.  b  -  i  .   e/%23contact
          [sip|iax]:   e     e 
           jid:b0ef@    n     n


More information about the ODE mailing list