GLUT programming in CygWin
Steve Mowbray
steve_mowbray@hotmail.com
Thu Dec 4 20:20:00 GMT 2003
Hi
Am starting out with the GLUT library and I am having trouble compiling my
first program under CygWin. I get the following compile/linker errors:
...
...
/cygdrive/c/DOCUME~1/steve/LOCALS~1/Temp/ccO1yqTt.o(.text+0xd0):simple.c:
undefi
ned reference to `_glutDisplayFunc@4'
/cygdrive/c/DOCUME~1/steve/LOCALS~1/Temp/ccO1yqTt.o(.text+0xd8):simple.c:
undefi
ned reference to `_glutMainLoop@0'
collect2: ld returned 1 exit status
I am compiling with
gcc -lopengl32 -lglu32 -lglut32 test.c
and including <GL/glut.h> in test.c
CygWin version 1.5.5-1
Any help with the compile/link options or pointers to basic tutorials would
be appreciated.
Thanks
Steve
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list