Problems with the glaux libraries

Started by
0 comments, last by mavric 20 years, 9 months ago
Hi, I can run prebuilt programs without problems and I can build (I use Visual C++ 6) without the auxDIBImageLoad() function but as soon as I compile it with that function it gives me: GLaux.lib(tk.obj) : error LNK2001: unresolved external symbol __ftol2 Debug/OpenGL.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. Please help or give suggestions. Climax
Advertisement
Yes it happened to me. It is a bug/problem with the new platform SDK (I think so). Better don''t use the Aux lib at all, it is old and outdated. You can load a BMP yourself without Aux.
I''ve also heard that you can do somethink like this to avoid the error:

extern long __ftol2(float a){    return (long)a;}


"C lets you shoot yourself in the foot rather easily. C++ allows you to reuse the bullet!"
Member of the Shove Pouya Off A Cliff club, SPOAC. (If you wish to join, add this line to your signature.)Member of "Un-Ban nes8bit" association, UNA (to join put this in your sig)"C lets you shoot yourself in the foot rather easily. C++ allows you to reuse the bullet!"

This topic is closed to new replies.

Advertisement