Can somebody tell me how to use texture mapping in OpenGL? I tried the tutorial on NeHe but I always get a compile error that looks something like this:
Unresolved external "auxDIBImageLoadA"...
Can somebody tell me how to use texture mapping in OpenGL? I tried the tutorial on NeHe but I always get a compile error that looks something like this:
Unresolved external "auxDIBImageLoadA"...
make sure you link glaux.lib, how to do this depends on your compiler, however, it's done the same way as you linked opengl32.lib and glu32.lib
Thanks, I'll see if that works.
or link it from your source:
#pragma comment(lib, "name_of_lib.lib")
isn't this a VC++ only thing?Originally posted by pode
or link it from your source:
#pragma comment(lib, "name_of_lib.lib")
No, I don't think so. I think it works with the Borland C++ Compiler (which I use) because I've used it before.isn't this a VC++ only thing?
BTW, I linked in glaux.lib and it worked fine. Thanks to everyone that helped!