ok, so I'm trying to write a screensaver in MVS C++ 6.0. I'm just starting, and I'm trying to learn how to work with opengl. I'm trying to apply texure to a cube, and whenever I try to batch build the program it comes back with:
Creating library Release/Screensaver.lib and object Release/Screensaver.exp
Screensaver.obj : error LNK2001: unresolved external symbol _auxDIBImageLoadA@4
Release/Screensaver.scr : fatal error LNK1120: 1 unresolved externals
However, when I just buld it in MVS it does'nt have any errors. Also, when i try to compile it not it screensaver format, it is fine. What is happening here. Thanks for any help. Here is the section of the code that is causing the error, with the exact line in bold.
Code: CPPUX_RGBImageRec *LoadBMP(char *Filename) // Loads A Bitmap Image
FILE *File=NULL; // File Handle
if (!Filename) // Make Sure A Filename Was Given
return NULL; // If Not Return NULL
File=fopen(Filename,"r"); // Check To See If The File Exists
if (File) // Does The File Exist?
fclose(File); // Close The Handle
// Load The Bitmap And Return A Pointer
return NULL; // If Load Failed Return NULL