I'm trying to build the first OpenGL/GLUT example in the OPENGL
PROGRAMMING GUIDE (Second Edition) in Windows 95 with MS Visual
C++ 4.0 Standard Edition. The program is Example 1-2, which just
draws a white square on a black background.
The program compiles just fine. It just won't link. Here's the
output from the "Win32 Debug":
Linking...
LIBCD.lib(wincrt0.obj) :
(Does that mean it's somehow trying to compile a 16-bit
version? Could that be the reason for the error?)
Debug/GL Test.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe
GL Test.exe - 2 error(s), 0 warning(s)
I've tried using the MS version of the opengl32.lib and glut32.lib
as my libraries, and I've tried it with the SGI OpenGL for Windows
libraries glut.lib and opengl.lib.
_____________________________________________________________________
Computer Science graduate at the University of Alabama in Huntsville
Science fiction and raytracing pictures and links:
http://mars.cs.uah.edu/cs/students/ssloan/
C++: a language that allows your friends to access your private parts
"In this house, we obey the laws of thermodynamics!" Homer J. Simpson