Hello,
I am trying to use PyOpenGL for the first time and I am having trouble
building it. After I run 'python setup.py build', it compiles for a
minute, and then exits with the error below.
This error does not make sense to me, because I have other applications
running that use the GL library, and I have no problem with them. I can
compile and link them with no errors.
The error is:
gcc -O3 -fomit-frame-pointer -pipe -s -march=pentium -ffast-math
-fexpensive-optimizations -fPIC -DGLX_PLATFORM -I/usr/include
-I/usr/local/include -I/usr/X11/include -Isrc/gle/src
-I/usr/include/python1.5 -c src/interface/GL.ARB.matrix_palette.c -o
build/temp.linux-i686-1.5/GL.ARB.matrix_palette.o
gcc -shared build/temp.linux-i686-1.5/GL.ARB.matrix_palette.o -L/usr/lib
-L/usr/local/lib -L/usr/X11/lib -Lbuild/temp.linux-i686-1.5 -lGL -lX11
-lXext -lGLU -linterface_util -lGLE -o
build/lib.linux-i686-1.5/OpenGL/GL/ARB/matrix_palette.so
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
I'm running Mandrake Linux. Any suggestions would be much appreciated!!
-- Jake
|