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 X-Authentication-Warning: eos.vss.fsi.com: ford owned process doing -bs Date: Mon, 10 Nov 2003 17:19:58 -0600 (CST) From: Brian Ford X-X-Sender: ford AT eos To: Suresh Venkatasubramanian cc: cygwin AT cygwin DOT com Subject: Re: OpenGL and cygwin In-Reply-To: Message-ID: References: <200311031609 DOT hA3G9kZ17540 AT bigmail DOT research DOT att DOT com> <20031110174953 DOT GB13143 AT redhat DOT com> <20031110204458 DOT GC1808 AT tishler DOT net> <20031110205820 DOT GA17282 AT redhat DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 10 Nov 2003, Suresh Venkatasubramanian wrote: > OK. now I am really confused. > Let me try to summarize what I want to do. > > I want to compile an OpenGL program that uses the native windows > opengl drivers for linking rather than cygwin's libraries. > This is part of your confusion. Cygwin proper has no OpenGL libs (ie. opengl32, glu32) per se. It only has import libraries for the Window's ones. (Cygwin does have a glut.dll and import lib as you have seen.) Cygwin XFree86 supplies OpenGL libs (ie. GL, GLU) via Mesa software emulation. > I compiled my code using > > gcc -mno-cygwin -lglut32 -lglu32 -lopengl32 > Did you try it without -mno-cygwin? You will still get your Nvidia OpenGL libs, but will be subject to Cygwin's license. > the code compiles correctly, and does not run, giving the error I > indicated earlier. > Maybe this is because you are getting Cygwin's glut import lib even when using Nvidia's glut? Just a guess. -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International Phone: 314-551-8460 Fax: 314-551-8444 -- 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/