Advertisement

Lesson 6: Loading Textures

Started by July 13, 2003 02:09 AM
1 comment, last by KyleFFL 21 years, 7 months ago
I''m using Microsoft Visual C++ 6: Standard and I''ve been toying around with some of the tutorials here on the NeHe site. I''m using some of my own GLUT base code (please dont kill me =) ) and I''m trying to just code the texture loading routine into my existing code. Amazingling, I managed to do so without any compiler errors, but my linker returns the following errors: game.obj : error LNK2001: unresolved external symbol _auxDIBImageLoadA@4 Debug/game.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. Sorry, but this confuses me. Excuse me if its something simple, but OpenGL & C++ is kind of greek to me. Thanks a lot. Kyle
Include the glaux.lib library in your project settings.
Or add the following line to your code
#pragma comment(lib, "glaux.lib")
Advertisement
Thanks a lot! I knew it was something mundane =)

This topic is closed to new replies.

Advertisement