Jump to content
  • Advertisement

Archived

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

mavric

Problems with the glaux libraries

This topic is 5469 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
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!"

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!