Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Reply-To: Cygwin List <cygwin@cygwin.com>
Message-Id: <6.2.0.14.0.20041126223719.046da0d0@pop.prospeed.net>
Date: Fri, 26 Nov 2004 22:39:27 -0500
To: "Yili Zhao" <ylzhao@vip.sina.com>, "cygwin" <cygwin@cygwin.com>
From: Larry Hall <lh-no-personal-replies-please@cygwin.com>
Subject: Re: cygwin compiles opengl app problem
In-Reply-To: <200411270312.iAR3CaJL018588@mail.prospeed.net>
References: <200411270312.iAR3CaJL018588@mail.prospeed.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

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/

