delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
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: | Andrew Markebo <andrew DOT markebo AT telia DOT com> |
Subject: | Re: MESA |
Date: | Wed, 19 Feb 2003 21:11:56 +0100 |
Lines: | 22 |
Message-ID: | <m3y94c6neb.fsf@telia.com> |
References: | <000701c2d852$884cfd20$70eaec82 AT mindcooler> |
Mime-Version: | 1.0 |
X-Complaints-To: | usenet AT main DOT gmane DOT org |
User-Agent: | Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2 |
Cancel-Lock: | sha1:avHjsQpeIpntABd1SGXL0AppVMw= |
/ Mikael Åsberg <mikas493 AT student DOT liu DOT se> 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |