Jump to content
  • Advertisement
Sign in to follow this  
prowler0240

Error with texture mapping GLUT

This topic is 4471 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm using GLUT, this is the error I am getting: --------------------Configuration: PROJECT - Win32 Debug-------------------- Compiling... PROJECT.CPP Linking... PROJECT.OBJ : error LNK2001: unresolved external symbol "void __cdecl tgaLoad(char *,struct image_t *,unsigned int)" (?tgaLoad@@YAXPADPAUimage_t@@I@Z) Debug/PROJECT.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. PROJECT.exe - 2 error(s), 0 warning(s) Look here for the code:http://www.freewebs.com/vgmdirect/ERROR%5F05.23.06%5FTM.txt

Share this post


Link to post
Share on other sites
Advertisement
You need to write, or at least link with, the function tgaLoad.

The error message is telling you that it cannot find the definition for this function, and indeed, it is not in the code you posted.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!