Problems with the glaux libraries
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
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:
"C lets you shoot yourself in the foot rather easily. C++ allows you to reuse the bullet!"
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!"
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement