From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karsten Wutzke To: cygwin@sources.redhat.com Subject: OpenGL & Cygwin: undefined reference to glGetString()??? Date: Mon, 18 Sep 2000 05:09:00 -0000 Message-id: <39C60708.7B37D912@starconcept.com> X-SW-Source: 2000-09/msg00584.html 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@sourceware.cygnus.com