Re: [PyOpenGL-Users] Problem building PyOpenGL
Brought to you by:
mcfletch
|
From: Rene L. <R.L...@gm...> - 2002-01-22 08:23:30
|
root wrote: > > 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 You should check if there is a directory or link /usr/X11. If not just create the link as in #ls -l /usr lrwxrwxrwx 1 root root 5 Dez 17 14:20 X11 -> X11R6 drwxr-xr-x 8 root root 159 Dez 17 14:21 X11R6 Rene |