delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/10/18:20:24

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-Authentication-Warning: eos.vss.fsi.com: ford owned process doing -bs
Date: Mon, 10 Nov 2003 17:19:58 -0600 (CST)
From: Brian Ford <ford AT vss DOT fsi DOT com>
X-X-Sender: ford AT eos
To: Suresh Venkatasubramanian <suresh AT research DOT att DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: OpenGL and cygwin
In-Reply-To: <Pine.LNX.4.58.0311101605010.3450@apollonius.research.att.com>
Message-ID: <Pine.GSO.4.56.0311101708390.9584@eos>
References: <200311031609 DOT hA3G9kZ17540 AT bigmail DOT research DOT att DOT com>
<Pine DOT GSO DOT 4 DOT 56 DOT 0311031014390 DOT 9584 AT eos> <Pine DOT CYG DOT 4 DOT 58 DOT 0311101203590 DOT 508 AT euclid>
<20031110174953 DOT GB13143 AT redhat DOT com> <Pine DOT LNX DOT 4 DOT 58 DOT 0311101256310 DOT 3450 AT apollonius DOT research DOT att DOT com>
<20031110204458 DOT GC1808 AT tishler DOT net> <Pine DOT LNX DOT 4 DOT 58 DOT 0311101551050 DOT 3450 AT apollonius DOT research DOT att DOT com>
<20031110205820 DOT GA17282 AT redhat DOT com> <Pine DOT LNX DOT 4 DOT 58 DOT 0311101605010 DOT 3450 AT apollonius DOT research DOT att DOT com>
MIME-Version: 1.0

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 <src files> -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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019