This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: OpenGL, GLU, GLUT and GLUI: how do I make a contrib
- To: "Andre Bleau" <andre dot bleau at courriel dot polymtl dot ca>, <cygwin at sourceware dot cygnus dot com>
- Subject: RE: OpenGL, GLU, GLUT and GLUI: how do I make a contrib
- From: "Suhaib Siddiqi" <ssiddiqi at inspirepharm dot com>
- Date: Wed, 21 Jun 2000 17:14:08 -0400
You can e-mail me who archive with a README file.
I will have a look at it. If you modification are not
breaking X protocols, I might put it in X/contrib directory.
I suspect user will still have problems linking to OpeGL/X
applications because libglut32.a, opengl32.a and libglu32.a contains
nothing for X.
Suhaib
> -----Original Message-----
> From: Andre Bleau [mailto:andre.bleau@courriel.polymtl.ca]
> Sent: Wednesday, June 21, 2000 3:28 PM
> To: cygwin@sourceware.cygnus.com
> Subject: OpenGL, GLU, GLUT and GLUI: how do I make a contrib
>
>
> Hi there.
>
> I prepared modified include files to ease the development of
> programs based
> on the OpenGL, GLU, GLUT and GLUI libraries. Cygwin 1.1.2 provides
> libopengl32.a, libglu32.a and libglut32.a in usr/lib but no include files
> (.h). I prepared a bzip2'ed tar file that I would like to share with the
> Cygwin community, but for the moment, I don't have my own ftp server. The
> tar ball is about 200K; content:
>
> usr/local/include/GL/glut.h
> From http://reality.sgi.com/mjk_asd/glut3/glut3.html; modified to add
> __attribute__ ((__stdcall__)) to the declaration of functions to enable
> linking with glut32.dll via usr/lib/libglut32.a . Jerome G.
> Benoit provided
> hints about how to do it and provided an example; thanks Jerome!
>
> usr/local/bin/glut32.dll
> From http://reality.sgi.com/mjk_asd/glut3/glut3.html; not modified. Move
> to some directory in your path or add usr/local/bin to your path.
>
> usr/local/include/GL/glu.h
> Modified version of usr/X11R6/include/GL/glu.h from
> ftp://sourceware.cygnus.com/pub/cygwin/xfree/xc-4-binaries/xfree86
-4.0-devel.tar.bz2
to add __attribute__ ((__stdcall__)) to the declaration of functions to
enable linking with glu32.dll via usr/lib/libglu32.a .
usr/local/include/GL/gl.h
Modified version of usr/X11R6/include/GL/gl.h from
ftp://sourceware.cygnus.com/pub/cygwin/xfree/xc-4-binaries/xfree86-4.0-devel
.tar.bz2
to add __attribute__ ((__stdcall__)) to the declaration of functions to
enable linking with opengl32.dll via usr/lib/libopengl32.a .
usr/local/include/glui.h
From http://www.cs.unc.edu/~rademach/glui/; not modified. Header file for
the GLUI tool kit version 2.0 beta.
usr/local/lib/libglui.a
A static library compiled from unmodified sources of the GLUI tool kit
version 2.0 beta, found at http://www.cs.unc.edu/~rademach/glui/.
Compilation with -O3 optimization. I highly recommend this very useful tool
kit.
Modified sections of the .h files are bracketed by
#ifdef (__CYGWIN__)
#endif
libglui.a, libglut32.a, libglu32.a and libopengl32.a interface with Windows
NT/2000. I don't know about Windows 95/98. No X server required.
I will email an attached copy of the tar ball upon request.
Regards,
André Bleau, ing., analyste
bleau@courriel.polymtl.ca
Département de génie électrique et Electric Engineering and
de génie informatique Computer Engineering department
École Polytechnique de Montréal Montreal Polytechnic School
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com