Tutorial 6 & current OpenGL Libaray
I''m trying to comlete the sixth tutorial, on textures, for OpenGL. No matter what I do I keep getting the error "Unresolved external auxDIBImageLoadA from C:\...\tutor6.obj". The compiler sudgests this as the help.
"The named symbol is referenced in the given module but is not defined anywhere in the set of object files and libraries included in the link. Check to make sure the symbol is spelled correctly. You will usually see this error from the linker for C or C++ symbols if any of the following occur:
1) You did not properly match a symbol''s declarations of __pascal and __cdecl types in different source files.
2) You have omitted the name of an .OBJ file your program needs. 3) You did not link in the emulation library.
If you are linking C++ code with C modules, you might have forgotten to wrap C external declarations in extern “C”.
4) You could also have a case mismatch between two symbols."
I believe that my library files are mixed up, so is there any solution to this and where can I download a current full version of OpenGL? Thank you for your help.
Gadvimque Innocentia Svperet
auxDIBImageLoadA is a GLaux function. To use it you need to link your program to glaux.lib.
Enigma
Enigma
Insert #pragma comment(lib,"glaux.lib")
[edited by - SSFAN on May 11, 2003 12:35:51 PM]
[edited by - SSFAN on May 11, 2003 12:35:51 PM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement