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: <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 Subject: Re: MESA In-Reply-To: References: <000701c2d852$884cfd20$70eaec82 AT mindcooler> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit >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/