At 10:11 PM 11/26/2004, you wrote: >Hi, > I use cygwin to compile an opengl program, and get this error: >---------------------------------------------------------------------- >/usr/include/w32api/GL/glu.h:230: error: syntax error before '*' token. >---------------------------------------------------------------------- > I opened glu.h, and find the statement in glu.h at 230 row: >GLAPI const wchar_t * APIENTRY gluErrorUnicodeStringEXT (GLenum error); > If I comment this statement, everything is ok. What's wrong with this >statement?
Nothing. The problem is that Cygwin has incomplete unicode support. Undefine UNICODE in your project and things should build OK. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/