Skip to main content
GameDev.net gamedev.net
๐Ÿ”’ Locked

Error with texture mapping GLUT

Started by prowler0240 May 23, 2006 at 8:57 AM 2 replies 850+ views
Original Post
prowler0240
prowler0240
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
prowler0240
prowler0240
Does anyone know a fix for it? I'm nwe to texture mapping and need a little help
bakery2k1
bakery2k1
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.
prowler0240
prowler0240
WOOOPS! Sorry for that, I forgot to add that to my project....thanks for the help.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.