This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello,
The changes to <GL/glu.h> in w32api-2.5 expose a problem with the glut.h in opengl-1.1.0-7 package, file <GL/glut.h>. The problem is that whcar_t is now required to be defined by /usr/include/w32api/GL/glu.h, however glut.h does not do so.
I'm not sure where the _best_ place to put a definition is; for myself I have put it at line 153 of glut.h. Others may wish to do so too, and perhaps a patch to the opengl package is in order if other more knowledgeable folks concur.
2003-09-24 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
* include/GL/glu.h (gluErrorUnicodeStringWIN): Add macro function. MSDN suggests using gluErrorUnicodeStringWIN instead of gluErrorString, as it allows both ANSI and Unicode error strings.
* include/GL/glu.h (gluErrorUnicodeStringEXT): Make the returned pointer const for consistency reasons.
2003-09-24 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
* include/GL/glu.h (gluErrorUnicodeStringEXT): Add function. Function exists in glu32.def but is undocumented on MSDN. A Google search came up with this declaration.
2003-09-24 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
* include/GL/glu.h: Rewritten from scratch. Started from GLU 1.3 headers from OpenGL Sample Implementation. Windows ships with GLU 1.2 so some constants and functions were removed. Then some typedef's and function declarations were reworked to look like the previous GL/glu.h.
153,156d152
< # ifndef _WCHAR_T_DEFINED
< typedef unsigned short wchar_t;
< # define _WCHAR_T_DEFINED
< # endif
The only other workaround I can see is adding an #include <windows.h> before every #include <GL/glut.h> which is neither elegant nor in the spirit of GLUT's philosophy of hiding platform dependencies.
--
Philip Lamb
phil@rave.co.nz
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |