This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygwin compiles opengl app problem
- From: Larry Hall <lh-no-personal-replies-please at cygwin dot com>
- To: "Yili Zhao" <ylzhao at vip dot sina dot com>, "cygwin" <cygwin at cygwin dot com>
- Date: Fri, 26 Nov 2004 22:39:27 -0500
- Subject: Re: cygwin compiles opengl app problem
- References: <200411270312.iAR3CaJL018588@mail.prospeed.net>
- Reply-to: Cygwin List <cygwin at cygwin dot com>
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/