Unresolved external auxDIBImageLoad

Started by
3 comments, last by dgl72 22 years, 6 months ago
I have a problem with Borland C++ Compiler. When attempt compile a source code with auxgl.h include, Compiler show next error: "unresolved external auxDIBImageload". I working on NT work station. any idea? thanks
Advertisement
Are you linking to "glaux.lib"?
I''m think, yes glaux.lib is on c:\bc5\lib\gl directory.
You have to tell the linker to search for functions in that particular library too (just havíng the file in the correct place is not enough). I''ve never used BC++ myself so I don''t know exactly how to do it, but look in your project options or similar. There should be a text-box or something where you can write which libraries the project should link to.

(If you''re using the BC++ command-line tools then there is some option that will do this for you, probably called -L or -l or something).
I think that the glaux.lib file is missing in the Borland distribution. You can build it yourself or get it from one of the Borland ports of the NeHe tutorials.
See this page for details:
http://sites.netscape.net/ptrpck/borland.htm

This topic is closed to new replies.

Advertisement