PDA

View Full Version : Eager for your help to load a BMP



jiangerlai
03-13-2003, 04:19 AM
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:

Linkingˇ*ˇ*
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!!

V-man
03-13-2003, 04:51 AM
http://openil.sourceforge.net/

is better at this stuff. Forget AUX