View Full Version : load bitmap file problem

02-14-2005, 02:23 AM
hi, i am having problem in loading the bitmap file. I guess that i did not put .lib reference in project->setting. In fact i am not sure which .lib to be place in project->setting.

in my file header, i have this

#include <gl\glut.h>
#include <gl\gl.h>
#include <gl\glu.h>
#include <time.h>
#include <stdio.h>
#include <GL/glaux.h>

UINT TextureArray[3];

can any one tell me which .lib file to be included?

02-14-2005, 04:21 AM
Supposedly glut should take care of it for you? Did you try compiling it and got a linker error? Anyway, I think the libs are opengl32.lib, glaux32.lib, glu.lib etc. You should look them up in ../VC98/Lib
or ../VC7/PlatformSDK/Lib

02-15-2005, 03:29 AM
The libs are opengl32.lib glu32.lib glaux.lib

02-15-2005, 06:01 AM
hei, thanks a lot moucard, you are right! it works when i include those .lib as suggested by you. thanks, thanks a lot! :)

02-15-2005, 06:03 AM
and thanks to MMMovania too. really apprecite the help from you guys. ;)