This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
GLUT programming in CygWin
- From: "Steve Mowbray" <steve_mowbray at hotmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 4 Dec 2003 19:30:44 -0000
- Subject: GLUT programming in CygWin
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/