VladR
09-13-2001, 07:47 AM
I am trying to compile the source code provided with the CD in the book "OpenGL game programming" (LaMonthe,Hawkins,Astle). But the compiler can`t make it because of the following errors:
error LNK2001: unresolved external symbol __imp__glLineWidth@4
chapter4.obj : error LNK2001: unresolved external symbol __imp__glPointSize@4
chapter4.obj : error LNK2001: unresolved external symbol __imp__glPolygonMode@8
chapter4.obj : error LNK2001: unresolved external symbol __imp__glDisable@4
chapter4.obj : error LNK2001: unresolved external symbol __imp__glEnable@4
.
.
.
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/chapter4.exe : fatal error LNK1120: 24 unresolved externals
Why is that ? What can I do ?
Also another chapter had source code where there was similar error like this just for the procedure AUXDIBImageLoad.
When I cahnged the version of GLUT from 3.6.3. to 3.7 anither 16 errors appeared.
It seeme that version 3.0 could help but sgi.com doesn`t have the link working. Where could I find other/older versions of GLUT?
error LNK2001: unresolved external symbol __imp__glLineWidth@4
chapter4.obj : error LNK2001: unresolved external symbol __imp__glPointSize@4
chapter4.obj : error LNK2001: unresolved external symbol __imp__glPolygonMode@8
chapter4.obj : error LNK2001: unresolved external symbol __imp__glDisable@4
chapter4.obj : error LNK2001: unresolved external symbol __imp__glEnable@4
.
.
.
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/chapter4.exe : fatal error LNK1120: 24 unresolved externals
Why is that ? What can I do ?
Also another chapter had source code where there was similar error like this just for the procedure AUXDIBImageLoad.
When I cahnged the version of GLUT from 3.6.3. to 3.7 anither 16 errors appeared.
It seeme that version 3.0 could help but sgi.com doesn`t have the link working. Where could I find other/older versions of GLUT?