ERROR: undefined reference to 'auxDIBImageLoadA'
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hi there.., i am learning opengl from the NeHe tutorials(NO GLUT). i am getting the error undefined reference to 'auxDIBImageLoadA' while compiling. i am using codeblocks. the codeblock is:
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;
}I have added reference to link libglaux.a already. HELP!!!!