delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/21/15:39:27

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <395119B9.4AA24862@wanadoo.fr>
Date: Wed, 21 Jun 2000 13:38:33 -0600
From: "Jerome G. Benoit" <jgmbenoit AT wanadoo DOT fr>
X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.7 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: Andre Bleau <andre DOT bleau AT courriel DOT polymtl DOT ca>
CC: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: OpenGL, GLU, GLUT and GLUI: how do I make a contrib
References: <4 DOT 3 DOT 2 DOT 7 DOT 0 DOT 20000621131835 DOT 00b4be90 AT courriel DOT polymtl DOT ca>

By the way,
note that the file `libglaux.a' distributed with Cygwin is useless
since the DLL glaux does NOT exist.
Futhermore the migration from glaux to glut is quiet simple:
see the GLUT FAQ.

Andre Bleau wrote:
> 
> 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

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019