View Full Version : auxDIBImageLoad

04-18-2001, 01:23 PM
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.

04-18-2001, 01:25 PM
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?

04-18-2001, 01:50 PM
Heh, sweet! Forgot about that. http://www.opengl.org/discussion_boards/ubb/smile.gif

Thanks a bunch!