Advertisement

Error Compiling Tutorial 6

Started by January 15, 2003 07:15 AM
2 comments, last by UltimateZeus 22 years, 1 month ago
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
Do you have glaux.lib on your hard drive?

Glaux isn''t supported anymore.
Advertisement
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
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.


This topic is closed to new replies.

Advertisement