Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sourceware.cygnus.com Delivered-To: mailing list cygwin@sourceware.cygnus.com Message-Id: <4.3.2.7.0.20000621131835.00b4be90@courriel.polymtl.ca> X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Wed, 21 Jun 2000 15:27:31 -0400 To: cygwin@sourceware.cygnus.com From: Andre Bleau Subject: OpenGL, GLU, GLUT and GLUI: how do I make a contrib Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id PAA25602 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