PDA

View Full Version : GLUT Fails to build ( LINUX )



newclear
01-22-2003, 01:57 AM
Hi when i try too build glut i get this:

gcc -o origami -O2 -fno-strength-reduce -L/usr/X11R6/lib origami.o ../../lib/glut/libglut.a -lGLU -lGL -lXmu -lXt -lSM -lICE -lXext -lX11 -lXi -lXext -lX11 -lm
origami.o: In function `display':
origami.o(.text+0x665): undefined reference to `glPolygonOffsetEXT'
origami.o(.text+0x6bc): undefined reference to `glPolygonOffsetEXT'
collect2: ld returned 1 exit status
make[2]: *** [origami] Error 1
make[2]: Leaving directory `/home/brendan/glut-3.7/progs/examples'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/brendan/glut-3.7/progs'
gmake: *** [all] Error 2
hardk0re$

I'm using NVIDIA's GL and GLX implementations.
{
hardk0re# ldd /usr/lib/libGL.so
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x40061000)
libm.so.6 => /lib/libm.so.6 (0x404f3000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40515000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40522000)
libdl.so.2 => /lib/libdl.so.2 (0x405d9000)
libc.so.6 => /lib/libc.so.6 (0x405dd000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
hardk0re#
}

Thankyou.