This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: OpenGL & Cygwin: undefined reference to glGetString()???



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]