This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

link problem


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@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]