delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/10/12/18:40:32

From: vsevolod AT jps DOT net (vsevolod mick tonkonoh)
Subject: link problem
12 Oct 1998 18:40:32 -0700 :
Message-ID: <19981012104142.32320.qmail.cygnus.gnu-win32@findmail.com>
To: gnu-win32 AT cygnus DOT com

Hello!
I have just installed Mingw32 ( I am new to gcc)
and I tried to compile simple program using OpenGL
library.As I understand, libopengl32.a is what I need for it. My program consists of little main() with one call to glLoadIdentity(). 
Here is the error message:

gcc  -o prog main.o  -L. -lopengl32
main.o(.text+0x18):main.cc: undefined reference to `glLoadIdentity(void)'

Need a clue!


-----
Free e-mail group hosting at http://www.eGroups.com/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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