Jump to content
  • Advertisement
Sign in to follow this  
keikei_c

error in lesson 6 Glut version [TgaLoad]

This topic is 4368 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

hi! I downloaded the glut version of lesson 6 in nehe and found these errors: --------------------Configuration: lesson06 - Win32 Debug-------------------- Linking... lesson06.obj : error LNK2001: unresolved external symbol "void __cdecl tgaLoad(char *,struct image_t *,unsigned int)" (?tgaLoad@@YAXPADPAUimage_t@@I@Z) Debug/lesson06.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. lesson06.exe - 2 error(s), 0 warning(s) Now, I tried compiling the tgaload.cpp that was together with the zip file, but i cannot run it because i don't have mem.h in my include files. I tried downloading some mem.h files on the net, but they just generated more errors.. i'm lost.. anyone who can help? a big thanx!

Share this post


Link to post
Share on other sites
Advertisement
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!