hi, i am following nehe’s tutorial on
texture mapping and loading a bmp file
whenver i do this and save it and compile, it compiles alright but gives me the link error that auxDIBImageLoad is an unresolved
external symbol. Also if i comment
out that line it compiles and links too
if (File){
fclose(File); //
return auxDIBImageLoad(Filename);
}
any suggestions will be appreciated
Originally posted by locomo:
[b]hi, i am following nehe’s tutorial on
texture mapping and loading a bmp file
whenver i do this and save it and compile, it compiles alright but gives me the link error that auxDIBImageLoad is an unresolved
external symbol. Also if i comment
out that line it compiles and links too
if (File){
fclose(File); //
return auxDIBImageLoad(Filename);
}
any suggestions will be appreciated[/b]
Hmm this can only mean you are not using the lib or the corect .h file, so to be sure (if you don’t do it that way already) Use #pragma comment (lib, “glaux.lib”) in the file where the function is used…
Also be sure you put this statement and the #include for glaux.h after any #include “stdafx.h” statement as this cancels any previous includes etc.