Dmitriy Sky
asked on
Compile problem /usr/bin/ld: cannot find -lGL
i Have a problem with compile script,
.......fpsgame/waypoint.o fpsgame/weapon.o -Lenet/.libs -lenet -L/usr/X11R6/lib -lX11 `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL -lrt
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make: *** [client] ¿¿¿¿¿¿ 1
it's told me that libGL can't been founded, but, i have installed all -dev packages, also have all links and librares into /usr/lib/ :
but it's still tell me that :(
my system Ubuntu 11.04, Nvidia video card, Gnome.
btw ldconfig, and other won't help :\
.......fpsgame/waypoint.o fpsgame/weapon.o -Lenet/.libs -lenet -L/usr/X11R6/lib -lX11 `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL -lrt
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make: *** [client] ¿¿¿¿¿¿ 1
it's told me that libGL can't been founded, but, i have installed all -dev packages, also have all links and librares into /usr/lib/ :
undersky@skypc:/media/Store/Games/sa uerbraten/ src$ ls /usr/lib | grep GL
libEGL.so.1
libEGL.so.1.0
libGLC.a
libGLC.la
libGLC.so
libGLC.so.0
libGLC.so.0.0.7
libGLESv2.so.2
libGLESv2.so.2.0.0
libGLEWmx.so.1.5
libGLEWmx.so.1.5.2
libGLEW.so.1.5
libGLEW.so.1.5.2
libGL.la
libGL.so
libGL.so.1
libGL.so.280.13
libGLU.a
libGLU.so
libGLU.so.1
libGLU.so.1.3.071000
libGLw.a
libGLw.so
libGLw.so.1
libGLw.so.1.0.0
but it's still tell me that :(
my system Ubuntu 11.04, Nvidia video card, Gnome.
btw ldconfig, and other won't help :\
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER