dovkruger
01-16-2004, 12:46 PM
I've been using Mesa-5.1 on Redhat 9, which works, but it's slow. Now that I realized that I'm not using the opengl libs, I'm trying to link. I use the command:
g++ -Wall -march=i686 -g -I /usr/share/doc/NVIDIA_GLX-1.0/include/ -o Dov2b -L /usr/lib -L /usr/X11R6/lib -L/usr/local/lib Dov2.cc -lGL -lGLU -lglut
/usr/local/lib/libglut.so: undefined reference to `XGetExtensionVersion'
/usr/local/lib/libglut.so: undefined reference to `XFreeDeviceList'
... etc.
I have tried looking for these symbols in both header files and libraries but can't find them.
A related issue is that I can't seem to build libglut, so I am using one that may be part of Mesa.
Can anyone help, please?
thanks,
Dov
[This message has been edited by dovkruger (edited 01-16-2004).]
g++ -Wall -march=i686 -g -I /usr/share/doc/NVIDIA_GLX-1.0/include/ -o Dov2b -L /usr/lib -L /usr/X11R6/lib -L/usr/local/lib Dov2.cc -lGL -lGLU -lglut
/usr/local/lib/libglut.so: undefined reference to `XGetExtensionVersion'
/usr/local/lib/libglut.so: undefined reference to `XFreeDeviceList'
... etc.
I have tried looking for these symbols in both header files and libraries but can't find them.
A related issue is that I can't seem to build libglut, so I am using one that may be part of Mesa.
Can anyone help, please?
thanks,
Dov
[This message has been edited by dovkruger (edited 01-16-2004).]