Frequently asked questions about the opengl package
---------------------------------------------------

Package maintainer: Andr Bleau
If you don't find the answer to your question here, please address it 
at cygwin@cygwin.com , not to me directly. 

Package opengl-1.1.0-9 updated 12/02/2008


What is the difference betwwn the opengl package and the libGL-devel, 
libGLU-devel, libglut-devel packages ?
--------------------------------------

The opengl package uses the Win32 API to render directly to Windows. It uses
driver and hardware acceleration to get fast rendering.
The other packages render through an X server, that needs to be installed and
run.


When will there be an opengl-1.4 or opengl-2.0 or opengl-3.0 package ?
----------------------------------------------------------------------

When Microsoft will provide an opengl32.dll for OpenGL version 
1.4, 2.0, or 3.0 . Sadly, that probably means never. But if you have up-to-
date graphic-card drivers that support those version of OpenGL, you can load
1.2+ functions dynamically. Look in an OpenGL forum, such as:

http://www.opengl.org/discussion_boards/cgi_directory/forumdisplay.cgi?action=topics&forum=OpenGL+coding:+beginners&number=2&DaysPrune=20&LastLogin=

to learn how to do it.


I am stuck with Windows 95, and I don't have OpenGL; what do I do ?
-------------------------------------------------------------------

For Windows 95, you need to download: 
http://download.microsoft.com/download/win95upg/info/1/W95/EN-US/Opengl95.exe . 


I linked like I used to before updating some other packages
and now I get undefined references to _glXXX, _gluXXX, _glutXXX, how come ?
---------------------------------------------------------------------------

You installed or upgraded one of the following packages:
libGL-devel, libGLU-devel, libglut-devel. They install headers that hide
those from the opengl and w32api packages. You need to recompile all code
including <GL/gl.h>, <GL/glu.h>, or <GL/glut.h> with the -I/usr/include/opengl
flag before you can successfully link.


How can I get rid of the silly command window ?
-----------------------------------------------

Add -mwindows to your linking command.


How can I check if GLUT, GLU and OpenGl are working ?
-----------------------------------------------------

Run /usr/lib/glut-examples/helloGlut .


How can I check if GLUI and GLUIX are working ?
-----------------------------------------------

Run one of the examples in /usr/lib/glui-examples .


Where can I find some simple GLUT programming example ? and how to build ?
--------------------------------------------------------------------------

In /usr/share/doc/GLUTexamples . Type:
make clean
make


Where can I find some simple GLUI and/or GLUIX programming example ? 
and how to build ?
------------------

In /usr/share/doc/GLUIexamples . Type:
make clean
make


What has changed since opengl-1.1.0-9
-------------------------------------

The usr/lib/w32api/glut32.lib that was supposed to be provided was in fact 
missing. The conflict over usr/lib/w32api/libglut32.a with the w32api package 
has been resolved; that file is now part of the opengl package.
