Workspace Problems
Hey!
I''ve been going through NeHe''s tutorials, and I''ve also been working my way through the Official OpenGL programming Guide and Reference Manual. I have this annoying thing happening in MS Visual C++ 6.0...
If I want to start a new project, I create a blank win32 application. I setup all the three additional links in the the settings as instructed by tutorial 1 (OpenGL32.lib GLu32.lib and GLaux.lib). Now, if I use the downloaded source code from NeHe it compiles but gives a linking error message. The same thing happens when I copy simple source code right out of the text. But, if I close the workspace, and then just create a new c++ source file and type in the code from the text, it works fine by using the default workspace (still doesn''t work for NeHe''s code).
Why is this? Shouldn''t I be able to create the appropriate workspace before writing the code? Can anyone help out this n00b to Visual C++?
Shakedown...
Please post the error(s) that VC++ shows.
If there is not many errors (say, less than 10), then post them all. Otherwise post the first ones only. Thank you.
If there is not many errors (say, less than 10), then post them all. Otherwise post the first ones only. Thank you.
After creating an empty win32 project don''t forget to add all the files you want to compile to your workspace. It isn''t enough to just copy the files into the project directory.
(Project->Add to project->Files... sth like that in the menu)
baumep
(Project->Add to project->Files... sth like that in the menu)
baumep
baumep
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement