PDA

View Full Version : unresolved external symbol __ftol2, Plz help..



yshangcao
10-06-2004, 08:14 PM
--------------------Configuration: ogl_t4 - Win32 Debug--------------------
Linking...
GLAUX.LIB(tk.obj) : error LNK2001: unresolved external symbol __ftol2
Debug/ogl_t4.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

ogl_t4.exe - 2 error(s), 0 warning(s)
--------------------------------------

I found that the function "auxDIBImageLoad((LPCSTR)filename)" causes this error.
How to fix it ? Any help appreciated.

RigidBody
10-06-2004, 10:37 PM
seems that the aux-function calls a routine ftol2 which isn't in any of the libraries you link with.

to solve the problem, you just ;) have to find the library which includes ftol2.