Sign in to follow this  
8Observer8

Lesson_06. error LNK2019: unresolved external symbol _auxDIBImageLoadA@4

Recommended Posts

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.

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this