Error Compiling Tutorial 6
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.
Glaux isn''t supported anymore.
www.flashbang.se | www.thegeekstate.com | nehe.gamedev.net | glAux fix for lesson 6 | [twitter]thegeekstate[/twitter]
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
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.
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
Popular Topics
Advertisement
Recommended Tutorials
Advertisement