delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Date: | Tue, 6 Feb 2007 15:03:20 -0600 |
From: | Brian Ford <Brian DOT Ford AT FlightSafety DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
To: | cygwin AT cygwin DOT com |
Subject: | Re: OpenGL linker error |
In-Reply-To: | <Pine.CYG.4.58.0702061454030.4500@PC1163-8460-XP.flightsafety.com> |
Message-ID: | <Pine.CYG.4.58.0702061501510.4500@PC1163-8460-XP.flightsafety.com> |
References: | <160E3DD4FB702C4CB860C65186686E69644CB9 AT MRZS152229 DOT medizin DOT uni-leipzig DOT de> <Pine DOT CYG DOT 4 DOT 58 DOT 0702061454030 DOT 4500 AT PC1163-8460-XP DOT flightsafety DOT com> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
On Tue, 6 Feb 2007, Brian Ford wrote: > On Tue, 6 Feb 2007, Ritter, Nils wrote: > > g++ -o out-glut/salmon out-glut/adjacency.o out-glut/assemble-matrix.o > > out-glut/big-vector.o out-glut/bounding.o ... lots of object files ... > > out-glut/wx-salmon.o -lXi -lXt -lICE -lXext -lXmu -lSM -lX11 > > -L/usr/X11R6/lib -L/lib/w32api -lglut -lopengl32 -lm > > Your first problem is that opengl32 is a Windows native library, > not an X11 one. The X11 one is named GL. You should not have a > -L/ib/w32api in this command. Ah, ^l. Also note that the proper link order is -lglut -lGL -lXstuff. -- Brian Ford Lead Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained crew... -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |