Archived

This topic is now archived and is closed to further replies.

CinPhrea

LoadTGA

Recommended Posts

Noob here, sorry if i sound dumb well i have been programming for a like a year (on and off)in mvc++ and i decided it was time to learn some openGL. i wanted to get some models into some of my stuff and i ran into a prob... i didnt know how to load models in went to nehe and didnt like their tut. mete pointed me here and i noticed that the tut here makes more scence, BUT when i try to compile it says that the LoadTGA is a undeclared identifier. pfff dumb compiler i have the tga.h and cpp i really have no clue why it would say something this silly. anyone have any ideas i would aprecate it

Share this post


Link to post
Share on other sites
--------------------Configuration: Lesson31 - Win32 Debug--------------------
Linking...
Lesson31.obj : error LNK2001: unresolved external symbol "bool __cdecl LoadTGA(struct Texture *,char *)" (?LoadTGA@@YA_NPAUTexture@@PAD@Z)
Debug/Lesson31.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

Lesson31.exe - 2 error(s), 0 warning(s)

thats what it actually says and i have no idea what to do? please help me

Share this post


Link to post
Share on other sites