project-navigation
Personal tools

Author Topic: Compilation problem with GL  (Read 2468 times)

B[L]A[D]E

  • Guest
Compilation problem with GL
« on: March 09, 2009, 03:33:42 pm »
Hola,
I've recently updated my svn working copy to rev. 23389 (I don't know if it was this the cause), during configure I can see as usual

checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes

but when try to compile:

# make
 * [UFO] ... linking -rdynamic (-ldl  -lm   -lz -lcurl -Wl,-Bsymbolic-functions -lidn -lssl -lcrypto -lldap -lrt -L/usr/lib -g -O2 -Wl,-Bsymbolic-functions -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lgssapi_krb5 -lssl -lcrypto -lz -ljpeg -lpng -lSDL_ttf -lSDL_mixer  -lGL -L/usr/lib -lSDL)
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make: *** [ufo] Error 1


Have you any hint?

TIA,

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Compilation problem with GL
« Reply #1 on: March 09, 2009, 06:09:40 pm »
try to install libgl-dev

B[L]A[D]E

  • Guest
Re: Compilation problem with GL
« Reply #2 on: March 09, 2009, 06:29:07 pm »
try to install libgl-dev

D'oh!
some update removed my nvidia-glx-180-dev package :(

Ok now it work (a really stupid problem...).

Thanks