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 |
Message-Id: | <5.1.0.14.1.20030221024245.00a2b930@pop.softhome.net> |
X-Sender: | karheng AT pop DOT softhome DOT net (Unverified) |
Date: | Fri, 21 Feb 2003 02:47:30 +0800 |
To: | cygwin AT cygwin DOT com |
From: | Chan Kar Heng <karheng AT softhome DOT net> |
Subject: | Re: MESA |
In-Reply-To: | <Pine.GSO.4.44.0302191507310.11788-100000@slinky.cs.nyu.edu |
> | |
References: | <000701c2d852$884cfd20$70eaec82 AT mindcooler> |
Mime-Version: | 1.0 |
>The actual libraries in the gcc command line (e.g., -lglut), and a >descriptive message subject. ;-) >Try "gcc -Wall -o test test.c -L/usr/local/lib -lGL -lGLU -lglut", or >something like that... try this instead... note the order of the libraries included: gcc -Wall -o test test.c -L/usr/local/lib -lglut -lglu -lgl it should work (as i recall it did for me)... someone here mentioned that it was due to the library order, and that should be exactly the problem. AFAIK, in certain cases where there is a circular reference in the libraries, some of these libraries might need to be included more than once... something like this: gcc -Wall -o test test.c -L/usr/local/lib -lgl -lglut -lglu -lgl i suppose this is off topic.... :) :x rgds, kh -- 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 |