rangers99
asked on
Build Error!!
Output from BUILD shown at the bottom of this message
Funny thing is the source file compiles OK. Its only when I try and BUILD the executeable.
Im a beginner at this stuff.
It looks as though it has something to do with this function:
auxDIBImageLoad(...)
AUX_RGBImageRec *CGlView::LoadBMP(char *Filename) // Loads A Bitmap Image
{
FILE *File=NULL;
if (!Filename) {
return NULL; }
File=fopen(Filename,"r");
if (File)
{
fclose(File);
return auxDIBImageLoad(Filename);
}
return NULL;
}
Anyone have any ideas. I dont have a flippin clue.
========================== ======
Linking...
GlView.obj : error LNK2001: unresolved external symbol _auxDIBImageLoadA@4
Debug/DlgOgl.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
DlgOgl.exe - 2 error(s), 0 warning(s)
Funny thing is the source file compiles OK. Its only when I try and BUILD the executeable.
Im a beginner at this stuff.
It looks as though it has something to do with this function:
auxDIBImageLoad(...)
AUX_RGBImageRec *CGlView::LoadBMP(char *Filename) // Loads A Bitmap Image
{
FILE *File=NULL;
if (!Filename) {
return NULL; }
File=fopen(Filename,"r");
if (File)
{
fclose(File);
return auxDIBImageLoad(Filename);
}
return NULL;
}
Anyone have any ideas. I dont have a flippin clue.
==========================
Linking...
GlView.obj : error LNK2001: unresolved external symbol _auxDIBImageLoadA@4
Debug/DlgOgl.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
DlgOgl.exe - 2 error(s), 0 warning(s)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
auxDIBImageLoad is Ur function or any library function?
Linker can't find the definision for the auxDIBImageLoad()
function.If its from any library please include the lib to the project or check is there any #define s needed for this particular function.
Linker can't find the definision for the auxDIBImageLoad()
function.If its from any library please include the lib to the project or check is there any #define s needed for this particular function.
ASKER
Ive just found the error. I didn't include the glaux.lib library (OPenGL)