Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: "Suhaib Siddiqi" To: "Andre Bleau" , Subject: RE: OpenGL, GLU, GLUT and GLUI: how do I make a contrib Date: Wed, 21 Jun 2000 17:14:08 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <4.3.2.7.0.20000621131835.00b4be90@courriel.polymtl.ca> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4131.1600 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 DOT bleau AT courriel DOT polymtl DOT ca] > Sent: Wednesday, June 21, 2000 3:28 PM > To: cygwin AT sourceware DOT cygnus DOT 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 AT courriel DOT polymtl DOT 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 AT sourceware DOT cygnus DOT com