Archived

This topic is now archived and is closed to further replies.

mavric

Problems with the glaux libraries

Recommended Posts

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

Share this post


Link to post
Share on other sites
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!"

Share this post


Link to post
Share on other sites