Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: "Steve Mowbray" Subject: GLUT programming in CygWin Date: Thu, 4 Dec 2003 19:30:44 -0000 Lines: 31 Message-ID: X-Complaints-To: usenet AT sea DOT gmane DOT org X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 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 AT 4' /cygdrive/c/DOCUME~1/steve/LOCALS~1/Temp/ccO1yqTt.o(.text+0xd8):simple.c: undefi ned reference to `_glutMainLoop AT 0' collect2: ld returned 1 exit status I am compiling with gcc -lopengl32 -lglu32 -lglut32 test.c and including 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/