This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: FW: question about cygwin OpenGL
- From: Brian Ford <ford at vss dot fsi dot com>
- To: "John P. Sutter" <sutter at spring8 dot or dot jp>
- Cc: cygwin at cygwin dot com
- Date: Tue, 12 Oct 2004 14:10:00 -0500
- Subject: RE: FW: question about cygwin OpenGL
- References: <000001c4affd$30482e40$d47f0a0a@JPSutter>
- Reply-to: cygwin at cygwin dot com
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/