Jump to content
  • Advertisement
Sign in to follow this  

Lesson_06. error LNK2019: unresolved external symbol _auxDIBImageLoadA@4

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



I use Visual C++ 2010 EE and receive this output:


Warning 1 warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification C:\Users\Ivan\Documents\Visual Studio 2010\Projects\NeHe\en_NeHe_Lesson_01\Lesson_06\main.obj
Error 2 error LNK2019: unresolved external symbol _auxDIBImageLoadA@4 referenced in function "struct _AUX_RGBImageRec * __cdecl LoadBMP(char *)" (?LoadBMP@@YAPAU_AUX_RGBImageRec@@PAD@Z) C:\Users\Ivan\Documents\Visual Studio 2010\Projects\NeHe\en_NeHe_Lesson_01\Lesson_06\main.obj

Error 3 error LNK1120: 1 unresolved externals C:\Users\Ivan\Documents\Visual Studio 2010\Projects\NeHe\en_NeHe_Lesson_01\Debug\Lesson_06.exe 1

Thank you.

Share this post

Link to post
Share on other sites

It works and for the lesson number 10 "Loading And Moving Through A 3D World" http://nehe.gamedev.net/tutorial/loading_and_moving_through_a_3d_world/22003/


I added to "main.cpp" this line:


#include "bmp.h"


And deleted this line from "main.cpp":


#include <gl\glaux.h> // Header File For The Glaux Library


"bmp.h" and "bmp.cpp" I took from the post #4 http://www.gamedev.net/topic/275238-gluax-replacement-code/

Edited by 8Observer8

Share this post

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