Eager for your help to load a BMP

In my program there is a function to load a BMP as follow:

AUX_RGBImageRec * LoadBMP(LPCTSTR Filename)
FILE *File = NULL;
if ( !Filename ) {
return NULL;

File = fopen( Filename,“r” );

if ( File ) {
fclose( File );
return auxDIBImageLoad( Filename );

return NULL;


The compiling message:

error LNK2001: unresolved external symbol _auxDIBImageLoadA@4
Debug/EarthSats.ocx : fatal error LNK1120: 1 unresolved externals
2 error(s), 0 warning(s)

I guess it is due to the file GLAUX.LIB or glaux.h. Does anyone agree with me and help me. Eager for your help!!


is better at this stuff. Forget AUX