PDA

View Full Version : Unresolved Externals..



Mercalli
12-14-2000, 02:09 PM
I get these errors when trying to compile a tga loader.



Linking...
tg.obj : error LNK2001: unresolved external symbol _glutLeaveGameMode@0
tg.obj : error LNK2001: unresolved external symbol _glutEnterGameMode@0
tg.obj : error LNK2001: unresolved external symbol _glutGameModeGet@4
tg.obj : error LNK2001: unresolved external symbol _glutGameModeString@4
tg.obj : error LNK2001: unresolved external symbol _glutSpecialUpFunc@4
tg.obj : error LNK2001: unresolved external symbol _glutIgnoreKeyRepeat@4
Debug/tg.exe : fatal error LNK1120: 6 unresolved externals

I have added the lib's opengl32.lib glut32.lib and glu32.lib
How do I fix this?

-Mercalli

j
12-14-2000, 04:40 PM
The only thing that I can think of is that your header files and library files are different versions. The Game Mode stuff is pretty new, and wouldn't be in an older version. Try redownloading the libs.

j

Mercalli
12-15-2000, 12:09 PM
Yep, that worked thanks a bunch

-Mercalli