delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/12/15:10:33

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Tue, 12 Oct 2004 14:10:00 -0500
From: Brian Ford <ford AT vss DOT fsi DOT com>
Reply-To: cygwin AT cygwin DOT com
To: "John P. Sutter" <sutter AT spring8 DOT or DOT jp>
cc: cygwin AT cygwin DOT com
Subject: RE: FW: question about cygwin OpenGL
In-Reply-To: <000001c4affd$30482e40$d47f0a0a@JPSutter>
Message-ID: <Pine.CYG.4.58.0410121303210.1048@fordpc.vss.fsi.com>
References: <000001c4affd$30482e40$d47f0a0a AT JPSutter>
MIME-Version: 1.0
X-IsSubscribed: yes

On Tue, 12 Oct 2004, John P. Sutter wrote:

> -----Original Message-----
> From: Igor Pechtchanski
> Sent: Tuesday, October 12, 2004 1:26 AM
>
> On Sun, 10 Oct 2004, John P. Sutter wrote:
> >> I have downloaded the OpenGL library source code from cygwin onto my
> >> Windows XP computer and have been trying to set it up from the
> >> makefiles.
> >
> >First off, why would you want to do this if there are binary packages
> >available for Cygwin?
>
> Because I would like to install XFree86 on my system with the GLX
> extension,

If the x.org fork of XFree86 is acceptable, then...

> which as far as I know is not included in the standard

Yes, it is.

> OpenGL library,

No, you said the GLX extension.  That is a feature of an X server, not of
the OpenGL library (ie. -lGL).

> but must be compiled with it. I thought that this would
> require the original source code for OpenGL. If I am wrong, and only the
> OpenGL binaries available from cygwin are needed, I would be thrilled!

Step back.  What *exactly* are you trying to accomplish in the end?

Here is the Cygwin OpenGL roadmap:

If your application is X11 based:
(This is OT for this list.  See redirection request below.)
The default Cygwin X server supports GLX via Mesa software emulation.
Their is an experimental version of the Cygwin X server that supports GLX
w/ hardware acceleration, but it is *experimental* and unfinished.
Compile with -I /usr/X11R6/include
Link w/ -L/usr/X11R6/lib -lglut (X11 based freeglut) -lGLU -lGL

If your application is purely glut based:
You can freely choose either path :-).

If your application is/can be Windows GUI based:
Full hardware acceleration is supported via a Windows pass through.
Link -lglut32 (Windows original glut port) -lglu32 -lopengl32
See /usr/share/doc/opengl-1.1.0/README.txt

Does that help?  Please send any X11 related follow-ups to the
cygwin-xfree list.  Thanks.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained pilot...

--
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