I’m getting an odd error with auxDIBImageLoad. A link error, actually.

“error LNK2001: unresolved external symbol _auxDIBImageLoadA@4”

I include <windows.h>, <gl\gl.h>, <gl\glu.h>, <gl\glut.h> and <gl\glaux.h>. However, I’m using GLUT (as you may have guessed from glut.h), and I was wondering if, for some reason this function is not available with glut.

If it isn’t, I was wondering if anyone knew an alternative for textures. Thanks.

I don’t know anything about OpenGL programming on Windows, but I do know that what you #include doesn’t help your link.

It looks like you are forgetting to link in some particular library, whichever one contains auxDIBImageLoad. glaux.lib perhaps?

Heh, sweet! Forgot about that.

Thanks a bunch!