Advertisement

tutorial lesson 6 NeHe

Started by December 22, 2001 08:56 AM
2 comments, last by sud_man 23 years, 2 months ago
Lesson 6 Learning how to texture map When I ran lesson06.zip program in Visual C++ 6 I got the following error. [Linker Error] Unresolved external ''auxDIBImageLoadA'' referenced from E:\DOWNLOADS\LESSON06\LESSON06\LESSON6.OBJ
You''re not linking to the glaux library.

I don''t use glaux, so I can''t tell you any more.
Advertisement
Be sure to stick a

#pragma comment(lib, "GLaux.lib")

in your source code somewhere! If you don''t have VC++, you''re outta luck and need to make a substitute function.
Vote to unban David Ho!
Try this either, it''s mentioned at the start of the tutorial.
Do it for any project you setup.

After you have created a new Win32 Application (NOT a console application) in Visual C++, you will need to link the OpenGL libraries. In Visual C++ go to Project, Settings, and then click on the LINK tab. Under "Object/Library Modules" at the beginning of the line (before kernel32.lib) add OpenGL32.lib GLu32.lib and GLaux.lib. Once you''ve done this click on OK. You''re now ready to write an OpenGL Windows program.

If all else fails, lower your standards.

"If all else fails, lower your standards."

This topic is closed to new replies.

Advertisement