This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
glGetString ?
- To: <cygwin at sourceware dot cygnus dot com>
- Subject: glGetString ?
- From: "Norman Vine" <nhv at cape dot com>
- Date: Fri, 14 Jul 2000 16:49:07 -0400
- Reply-To: <nhv at cape dot com>
Hi All,
I updated my Cygwin with the 'slick' new GUI interface
Nice ;-)
and everything seems OK
except that the linker choked on glGetString from libopengl32.a
But it is there
%> nm libopengl32.a | grep "glGetString"
00000000 I __imp__glGetString@4
00000000 T _glGetString@4
The following test program demonstrates the problem
Norman VIne
==== cut here ====
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <GL/glut.h>
void getPrints ( GLenum token, char *string )
{
printf ( "%s = \"%s\"\n", string, glGetString ( token ) ) ;
}
int main ( int argc, char **argv )
{
glutInit ( &argc, argv ) ;
glutInitDisplayMode ( GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH ) ;
glutCreateWindow ( "You should never see this window!" ) ;
getPrints ( GL_VENDOR , "GL_VENDOR" ) ;
getPrints ( GL_RENDERER , "GL_RENDERER" ) ;
getPrints ( GL_VERSION , "GL_VERSION" ) ;
getPrints ( GL_EXTENSIONS , "GL_EXTENSIONS" ) ;
return 0 ;
}
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com