I am trying to read pixels from a .bmp file, and the blasted book I have gives two (both not working) syntax versions of a read utility.
int readBmpFile( char * fname );
int readBMPFile( string fname );
they both compile on visual c++ but neither of them will link properly, any assistance would be great!
readBmpFile is not a OpenGL/glu or glut function. You must link to the library that has it.
AUX_RGBImageRec* auxDIBImageLoad(char* Filename)
It’s a really easy way for handling BMPs.
Just for knowledge sake, I suggest to find infos also on DIBs and ResourceFunctions…