This is the mail archive of the
mailing list for the Cygwin project.
GL/gl.h in w32api
- To: Earnie Boyd <earnie_boyd at yahoo dot com>, Andre Bleau <bleau at igb dot umontreal dot ca>
- Subject: GL/gl.h in w32api
- From: Roger Sayle <roger at metaphorics dot com>
- Date: Tue, 10 Apr 2001 11:41:40 -0600 (MDT)
- cc: Cygwin Mailing List <cygwin at cygwin dot com>
My apologies for what may be a frequently asked question, but my
searches of the cygwin and mingw mailing lists have failed to find
an appropriate answer.
Is there any reason why the include files in the opengl package
shouldn't be moved to the w32api package?
Currently, opengl-1.1.0-3 installs these header files in /usr/include/GL
which causes numerous problems when compiling with -mno-cygwin as
discussed in recent mailings to the cygwin mailing list. These posts
suggest fragile work arounds such as "-I/usr/include" and modifications
to the header files themselves and/or -D__CYGWIN__.
The appropriate solution is to recognize that the OpenGL header files
should simply be part of the w32api, but are missing from the lastest
Moving these files over, would mean that the header files and import
libraries (i.e. opengl32.a) would be distributed at the same time, the
headers would appear in /usr/include/w32api and be found when compiling
both with and without -mno-cygwin, and would greatly simplify the tests
defining the APIENTRY macro, as this header would always refer to the
#if defined(__CYGWIN__) || defined(_WIN32) && defined(__GNUC__)
|| (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED)
This simplification would also free up the /usr/include/GL/gl.h for use
by the X11 client variants of the OpenGL headers.
My apologies once again if this idea has been rejected previously.
Roger Sayle, E-mail: email@example.com
Bioinformatics Group, Metaphorics, WWW: http://www.metaphorics.com/
Office 104, 441 Greg Avenue, Tel: (+1) 505-954-3281
Santa Fe, New Mexico, 87501. Fax: (+1) 505-989-1200
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple