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 Message-ID: <005401c2c08b$3262d440$70eaec82@mindcooler> From: =?iso-8859-1?Q?Mikael_=C5sberg?= To: Subject: Building opengl applications Date: Mon, 20 Jan 2003 14:52:39 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1123 X-Spam-Status: No, hits=0.8 required=5.0 tests=FROM_ENDS_IN_NUMS,INVALID_MSGID, LIU_FROM_MATCHES_LIUSTUDENT,SPAM_PHRASE_01_02,USER_AGENT_OE version=2.41-liu_1.3 X-Spam-Level: Hello, I am trying to build a simple OpenGL program (an example taken from the famous "Red Book"). However, during the build process the following error messages are displayed: /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccK0lHn2.o(.text+0xe):test.c: undefined reference to `glEnableClientState AT 4' /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccK0lHn2.o(.text+0x1d):test.c: undefined reference to `glEnableClientState AT 4' /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccK0lHn2.o(.text+0x44):test.c: undefined reference to `glVertexPointer AT 16' /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccK0lHn2.o(.text+0x6b):test.c: undefined reference to `glColorPointer AT 16' /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccK0lHn2.o(.text+0x92):test.c: undefined reference to `glInterleavedArrays AT 12' Actually, there is more, but each error is an undefined reference so it seems gcc cannot find the libraries. I did install them, though. Building with -glut32 -lglu32 -lopengl32 What am I doing wrong? Hope you can help me =) // Mikael -- 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/