wac3d
12th July 2004, 01:44 PM
i am trying to install the AC3Dloader1.1, ac3d_view utilities (http://www.ac3d.org/ac3d/download/AC3Dloader1.1.zip, http://www.ac3d.org/ac3d/download/tri_view.tgz) on a linux box (redhat el 3).
i believe i have the full glut pkgs, + GL, but the link stage fails for both with undefined references.
(note: i did modify the ac3d_view Makefile to not expect Mesa & to use -L /usr/X11R6/lib)
any suggestions?
thanks in advance.
------------------------------------------------------------------
$ rpm -qa|grep glut
glut-devel-3.7-12
glut-3.7-12
$ gmake
gcc -Wall -O2 -o ac3dview ac3d.o texture.o render.o main.o -L /usr/lib -lglut -L /usr/X11R6/lib/ -lGLU -lGL -lXmu -lXext -lX11 -lm
/usr/lib/libglut.so: undefined reference to `XGetExtensionVersion'
/usr/lib/libglut.so: undefined reference to `XFreeDeviceList'
/usr/lib/libglut.so: undefined reference to `XQueryDeviceState'
/usr/lib/libglut.so: undefined reference to `XListInputDevices'
/usr/lib/libglut.so: undefined reference to `XFreeDeviceState'
/usr/lib/libglut.so: undefined reference to `XOpenDevice'
/usr/lib/libglut.so: undefined reference to `XSelectExtensionEvent'
collect2: ld returned 1 exit status
$ strings /usr/lib/libglut.so.3.7|grep XGetExtensionV
XGetExtensionVersion
i believe i have the full glut pkgs, + GL, but the link stage fails for both with undefined references.
(note: i did modify the ac3d_view Makefile to not expect Mesa & to use -L /usr/X11R6/lib)
any suggestions?
thanks in advance.
------------------------------------------------------------------
$ rpm -qa|grep glut
glut-devel-3.7-12
glut-3.7-12
$ gmake
gcc -Wall -O2 -o ac3dview ac3d.o texture.o render.o main.o -L /usr/lib -lglut -L /usr/X11R6/lib/ -lGLU -lGL -lXmu -lXext -lX11 -lm
/usr/lib/libglut.so: undefined reference to `XGetExtensionVersion'
/usr/lib/libglut.so: undefined reference to `XFreeDeviceList'
/usr/lib/libglut.so: undefined reference to `XQueryDeviceState'
/usr/lib/libglut.so: undefined reference to `XListInputDevices'
/usr/lib/libglut.so: undefined reference to `XFreeDeviceState'
/usr/lib/libglut.so: undefined reference to `XOpenDevice'
/usr/lib/libglut.so: undefined reference to `XSelectExtensionEvent'
collect2: ld returned 1 exit status
$ strings /usr/lib/libglut.so.3.7|grep XGetExtensionV
XGetExtensionVersion