Unresolved Externals..

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

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

Yep, that worked thanks a bunch

-Mercalli