/usr/bin/ld: cannot find -lGL
Archives Forums/Linux Discussion//usr/bin/ld: cannot find -lGL
| ||
Hello, I'm testing BlitzMax under Ubuntu 7.04 - Feisty Fawn When i try to build any example under MaxIDE. I get the following error messages ... --- /usr/bin/ld: cannot find -lGL collect2: ld devolvió el estado de salida 1 --- Building breakout Compiling:breakout.bmx flat assembler version 1.64 4 passes, 34493 bytes. Linking:breakout.debug /usr/bin/ld: cannot find -lGL collect2: ld devolvió el estado de salida 1 Build Error: Failed to link /home/orion/BlitzMax118_Linux/BlitzMax/samples/breakout/breakout.debug Process complete Thank you, Javier Gutierrez |
| ||
You're missing one of the packages/libraries you need to download. Check the installation guides at the top of this forum, as I'm not sure which one you're missing to give you this error. |
| ||
Hello, I think the problem must be related with OpenGL. I checked all packgages needed and I think everything it's installed. Also I get another error messages when I try to rebuild all modules ... Archiving:opengl.debug.linux.x86.a Compiling:glew_static.c ar: creating /home/orion/BlitzMax118_Linux/BlitzMax/mod/pub.mod/opengl.mod/opengl.debug.linux.x86.a En el fichero incluído de /home/orion/BlitzMax118_Linux/BlitzMax/mod/pub.mod/glew.mod/glew.c:32, de /home/orion/BlitzMax118_Linux/BlitzMax/mod/pub.mod/glew.mod/glew_static.c:3: /home/orion/BlitzMax118_Linux/BlitzMax/mod/pub.mod/glew.mod/GL/glew.h:1111:20: GL/glu.h: No existe el fichero ó directorio Build Error: failed to compile /home/orion/BlitzMax118_Linux/BlitzMax/mod/pub.mod/glew.mod/glew_static.c Process complete Thank you very much, Javier Gutierrez |
| ||
Try to install (from synaptic) libglu1-mesa-dev. |
| ||
ok. Now works fine. libglu1-mesa-dev was missing Thanks |