glGetString ?

Norman Vine nhv@cape.com
Fri Jul 14 14:11:00 GMT 2000


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


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /