tutorial lesson 6 NeHe
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.
I don''t use glaux, so I can''t tell you any more.
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.
#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.
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
Popular Topics
Advertisement
Recommended Tutorials
Advertisement