Skip to main content
gamedev.net
🔒 Locked

Error Compiling Tutorial 6

Started by UltimateZeus Jan 15, 2003 at 7:15 AM 2 replies 800+ views
Original Post
UltimateZeus
UltimateZeus
Hi, I seem to have run into a problem when compiling tutorial 6. Linking... glaux.lib(tk.obj) : error LNK2001: unresolved external symbol __ftol2 Debug/Texturing.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. Texturing.exe - 2 error(s), 0 warning(s) The other tutorials have been working perfectly - even if I open the .dsw file it gives the same error. Does anyone have any idea of what could be wrong? I have added the opengl32.lib glu32.lib and glaux.lib The exe works perfectly. Thanks a lot Zeus
UltimateZeus
UltimateZeus
Hi,

I do have glaux.lib on my computer. If it isn''t supported anymore then what should be used instead of the :

auxDIBImageLoad(filename);

Zeus
Dave Hunt
Dave Hunt
The version of glaux.lib that I have doesn''t reference __ftol2. It references __ftol. Where did you get your libraries?

If you choose not to use glaux, then you will have to write your own image loading functions. Check out NeHe''s SDK. It contains an image loader that handles bmp, pcx, tga, and anything that windows can recognize (using IPicture). I used it in my soon-to-be-gl-engine and it works fine with just about anything I threw at it.


Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.