Well, I'm quite new to OpenGL, so I'm going through those Legacy tutorials found in nehe.gamedev.net website.
But in Lesson 6, there is a problem with function:
AUX_RGBImageRec *LoadBMP(char* Filename)
{
FILE* File = NULL;
if(!Filename)
{
return NULL;
}
File = fopen(Filename, "r");
if(File)
{
fclose(File);
return auxDIBImageLoad(Filename);
}
return NULL;
}
My compiler doesn't find auxDIBImageLoad(Filename); function.
Everything is going smoothly except this one. How could I fix it?
Error message:
undefined reference to `auxDIBImageLoadA@4'|