This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: FW: question about cygwin OpenGL

To step back a bit: My ultimate goal is to install the PyMOL package
with python on my Windows XP and to run it on cygwin. It appears from
Brian Ford's message below (my thanks to him) that the cygwin XFree86
binaries must necessarily include the GLX extension in order to mesh
with the OpenGL libraries. That means it would be unnecessary to compile
a GLX package from another source, since the cygwin XFree86 binaries
already have everything needed. Is this correct?

I have sent the PyMOL developers a message outlining my problem, but I
have a few questions that I think would be better answered on a cygwin
1. Is the GLUT library included in cygwin's OpenGL package?
2. Does cygwin's python version include support for threads and

Thanks to Igor Pechtchanski and Brian Ford for their kind suggestions. I
will of course be grateful for any answers to the questions above.

Yours truly,

John P. Sutter
1-1-1 Kouto, Mikazuki-cho, Sayo-gun, Hyogo-ken 679-5198

-----Original Message-----
From: Brian Ford [] 
Sent: Wednesday, October 13, 2004 4:10 AM
To: John P. Sutter
Subject: RE: FW: question about cygwin OpenGL

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
> >> 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 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
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
> 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
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:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]