delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Reply-To: | Cygwin List <cygwin AT cygwin DOT 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 AT vip DOT sina DOT com>, "cygwin" <cygwin AT cygwin DOT com> |
From: | Larry Hall <lh-no-personal-replies-please AT cygwin DOT com> |
Subject: | Re: cygwin compiles opengl app problem |
In-Reply-To: | <200411270312.iAR3CaJL018588@mail.prospeed.net> |
References: | <200411270312 DOT iAR3CaJL018588 AT mail DOT prospeed DOT net> |
Mime-Version: | 1.0 |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |