From: Niklas W. <nik...@ch...> - 2001-04-19 19:48:55
|
I have just installed the Mesa library on my Red Hat 7.1 distribution. When I try to compile my opengl programs, using gcc, I get the errors: /tmp/ccW8jdaH.o(.text+0x13): undefined reference to `glutInit' /tmp/ccW8jdaH.o(.text+0x20): undefined reference to `glutInitDisplayMode' /tmp/ccW8jdaH.o(.text+0x35): undefined reference to `glutInitWindowSize' /tmp/ccW8jdaH.o(.text+0x45): undefined reference to `glutCreateWindow' /tmp/ccW8jdaH.o(.text+0x55): undefined reference to `glutDisplayFunc' /tmp/ccW8jdaH.o(.text+0x5d): undefined reference to `glutMainLoop' What's wrong? |