/ Mikael Åsberg <[EMAIL PROTECTED]> wrote: | [...] | I get the following linking error: | /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cccQYzSg.o(.text+0x1f):test.c: | undefined reference to `_glutMainLoop' | collect2: ld returned 1 exit status | | $ gcc -Wall -o test | test.c -L/usr/local/lib/GL -L/usr/local/lib/GLU -L/usr/local/lib/GLUT | [...] | | What am I missing?
You are missing to tell gcc which libs to link with, you need something like "-lGL -lGLU -lOSMesa and -lglut".. which order I don't know, check the docs.. ,-) /Andy -- The eye of the beholder rests on the beauty! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/