Mail Archives: cygwin/2000/06/21/15:39:27
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 -