Texture mapping in GLUT

I just got started programming opengl with the superbible2, but the LoadDIBitmap stuff wont work. It wont compile the program, even when I try to compile the book source from the CD. I can do other stuff like create the premade teapot and initialise lighting, but how do I get the textures working.

LoadDIBitmap looks a tad win32.

Do you mean auxDIBImageLoad?

If so then you need to include

<GL/glaux.h>

and link in

glaux.lib