VC++ compile problems...
Hey,
I''ve been trying to compile NeHe''s OpenGL tutorials myself with Visual C++ 6.0 Standard. Everything is fine, up until lesson 5, when he begins adding to the code. When building/linking, I get the following error:
-
glaux.lib(tk.obj) : error LNK2001: unresolved external symbol __ftol2
Debug/lesson6.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
-
What am I doing wrong? I''d greatly appreciate any help someone can provide, I''m sure this is probably just a ''newbie'' thing. Thanks in advance...
- JS
Make sure your put your includes in order, starting with windows.h . Make sure to link opengl32.lib glu32.lib through project->setting-> link. And update your vid card driver if you haven''t done so in a long time.
B.t.
B.t.
Hi,
Yeah, I tried that already, i double-checked the project settings/link and options, libraries, etc. It isn''t helping, not sure what''s going on. Any other suggestions?
- JS
Yeah, I tried that already, i double-checked the project settings/link and options, libraries, etc. It isn''t helping, not sure what''s going on. Any other suggestions?
- JS
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement