VC++ compile problems...

Started by
2 comments, last by jmszczap82 21 years, 9 months ago
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
Please sign my petition! Visit the following URL: http://www.petitiononline.com/tftctvoh/petition.html
Advertisement
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
Please sign my petition! Visit the following URL: http://www.petitiononline.com/tftctvoh/petition.html
Hi again,
Nevermind, it''s fine-- for now. I had to rearrange the order that VC++ searched for it''s libraries. I still don''t quite understand though. I thought that it checks EVERY path listed in ''options'', not just the first one?!
- JS
Please sign my petition! Visit the following URL: http://www.petitiononline.com/tftctvoh/petition.html

This topic is closed to new replies.

Advertisement