Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-Id: <4.3.2.7.0.20000918102310.00b19998@courriel.polymtl.ca>
X-Mailer: QUALCOMM Windows Eudora Version 4.3.2
Date: Mon, 18 Sep 2000 10:45:39 -0400
To: cygwin@sources.redhat.com
From: Andre Bleau <andre.bleau@courriel.polymtl.ca>
Subject: Re: OpenGL & Cygwin: undefined reference to glGetString()??? 
Cc: karsten.wutzke@starconcept.com, bmcnultyjunior@yahoo.com
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"; format=flowed
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id KAA05120


Find the file GL/gl.h
change the line
extern const GLubyte * glGetString (GLenum name);
to
extern const APIENTRY GLubyte * glGetString (GLenum name);

I send a fixed opengl package some weeks ago to be added to the 
distribution of Cygwin. Setup doesn't seem to support it anymore, but you 
may still find it at
ftp://sources.redhat.com/pub/cygwin/latest/opengl/opengl-1.1.0-1.tar.gz

André Bleau, ing., analyste
bleau@courriel.polymtl.ca

Département de génie électrique et         Electric Engineering and
de génie informatique                      Computer Engineering department
École Polytechnique de Montréal            Montreal Polytechnic School


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

