PDA

View Full Version : SuSE Linux & OpenGL Programming



daZwerg
06-09-2001, 08:47 AM
I have an SuSE Linux 7.2 System and i have installed the glx_devel paket.

When i try to compile a opengl programm i got
following errors, can anyone help me please?

zwergi@workstation:~/devel/gl > gcc gltest.c -o gl -lGL -lglut
gltest.c: In function `main':
gltest.c:31: warning: passing arg 1 of `glutInit' makes pointer from integer without a cast
/tmp/ccJNcGco.o: In function `main':
/tmp/ccJNcGco.o(.text+0x184): undefined reference to `glutDisplyFunc'
/usr/lib/libglut.so: undefined reference to `gluErrorString'
/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 `gluNewQuadric'
/usr/lib/libglut.so: undefined reference to `XListInputDevices'
/usr/lib/libglut.so: undefined reference to `gluQuadricDrawStyle'
/usr/lib/libglut.so: undefined reference to `cos'
/usr/lib/libglut.so: undefined reference to `gluCylinder'
/usr/lib/libglut.so: undefined reference to `sin'
/usr/lib/libglut.so: undefined reference to `XFreeDeviceState'
/usr/lib/libglut.so: undefined reference to `XOpenDevice'
/usr/lib/libglut.so: undefined reference to `gluQuadricNormals'
/usr/lib/libglut.so: undefined reference to `XmuLookupStandardColormap'
/usr/lib/libglut.so: undefined reference to `XSelectExtensionEvent'
/usr/lib/libglut.so: undefined reference to `gluSphere'
collect2: ld returned 1 exit status

afster2daz
06-09-2001, 09:52 AM
Linux Sucks! its a bunch of sh*t
cheap piece of sh*t :P