delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/07/14/17:12:52

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Reply-To: <nhv AT cape DOT com>
From: "Norman Vine" <nhv AT cape DOT com>
To: <cygwin AT sourceware DOT cygnus DOT com>
Subject: glGetString ?
Date: Fri, 14 Jul 2000 16:49:07 -0400
Message-ID: <000901bfedd4$fc7c08a0$d236ba8c@nhv>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2232.26
Importance: Normal
In-Reply-To: <8525691C.00729767.00@nyc-ntgw-n01.ny.jpmorgan.com>
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211

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 AT 4
00000000 T _glGetString AT 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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019