🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Lesson_06. error LNK2019: unresolved external symbol _auxDIBImageLoadA@4

Started by
2 comments, last by 8Observer8 10 years, 1 month ago

Hi,

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.
Advertisement

There is the solution in the post #4 http://www.gamedev.net/topic/275238-gluax-replacement-code/

I included "bmp.h" and deleted this line


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

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/

This topic is closed to new replies.

Advertisement