Jump to content
  • Advertisement


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


Problems with the glaux libraries

This topic is 5645 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
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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!