delorie.com/archives/browse.cgi | search |
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 |
Message-ID: | <39C60708.7B37D912@starconcept.com> |
Date: | Mon, 18 Sep 2000 14:14:00 +0200 |
From: | Karsten Wutzke <karsten DOT wutzke AT starconcept DOT com> |
X-Mailer: | Mozilla 4.61 [en] (WinNT; I) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
To: | cygwin AT sources DOT redhat DOT com |
Subject: | OpenGL & Cygwin: undefined reference to glGetString()??? |
Hi all! I still can't believe this. The Cygwin linker complains about undefined references to glGetString()! All other functions/symbols are there. Beats me... (Cygwin version is the net release from April 17th 2000) Code: const GLubyte *strVen = glGetString(GL_VENDOR); const GLubyte *strRen = glGetString(GL_RENDERER); const GLubyte *strVer = glGetString(GL_VERSION); const GLubyte *strExt = glGetString(GL_EXTENSIONS); Compiler/linker output: gcc -c -o scene.o scene.c -O2 -DWIN32 -mpentium -I//D/coding/cygwin/include -I//D/coding/cygwin/usr/local/include gcc -o scene.exe timer/rdtsc.o scene.o earth.o materials.o lights.o textures.o init.o draw.o -O2 -L//D/coding/cygwin/lib -L//D/coding/cygwin/usr/local/lib -lopengl32 -lglu32 -lglut32 -lgdi32 -lwsock32 -lm scene.o(.text+0xe5b):scene.c: undefined reference to `glGetString' scene.o(.text+0xe68):scene.c: undefined reference to `glGetString' scene.o(.text+0xe78):scene.c: undefined reference to `glGetString' scene.o(.text+0xe85):scene.c: undefined reference to `glGetString' collect2: ld returned 1 exit status make.exe: *** [scene.exe] Error 1 I have to query for the ARB_multitexture extension... :-o Does anyone know how to cure this? I have no idea! Thanks for your help. Karsten -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |