Advertisement

In VC++, can't make a project

Started by April 16, 2000 02:53 PM
4 comments, last by Piksel 24 years, 7 months ago
I''m really new to C++ and all, so its a stupid question, but I am using Microsoft Visual C++ 4.0, and I want to be able to modify the code and what not, so I need to make a project for it. I downloaded the .cpp files and all (because I didn''t want to screw up when I wrote them), and I tried to make a project using it, but every time I do, I get 22 errors. Mostly about undeclared identifiers and such. I linked the 3 .libs the tut said to link, but I still can''t get it to work. Could someone please email me there project files to spiper@cmc.net. Or email a message on how to do it. I though I had followed the tuts instructions fairly well. Please help, thank you in advance.
Have you downloaded the OPENGL from microsoft and added the INCLUDES and LIBS to VC++ so it can use them?

Advertisement
Yes, I''ve downloaded opengl, the normal one (for gamers and stuff) so I can run other demos when they are in .exe form, and I''ve downloaded the opengl sdk, and I can compile other programs, like a project that I downloaded from a tut off opengl.org. So I know that I have a working version of opengl and all. I think that I am just having some sort of problem with setting up Microsoft VC++, because it is version 4.0.
This is what you do (step-by-step)
1) Create a new Win32 Application (NOT console app)
2) Create a new C/C++ source code file
3) Write your code
4) On the workspace bar (the bar on the left), right click
(PROJECT NAME) files.
5) Click on settings
6) Go over to the link tab and add these libs:
OpenGL32.lib GLu32.lib GLaux32.lib
7) compile

If that doesn''t work, I''m not sure what''s wrong. But, it should commpile. Good luck.

"When people tell you they want to hear the truth, you know that their lying."
Two things:

1) You can download all of the source for the tutorials at the end of each tutorial. You''ll get a zip file with everything you need included.

2) the very first tutorial (you always start at step 1 when you build something right?) explains in more detail than should be neccesary how to link opengl libraries and how to build the projects.

I''ve tried all of these things, plus a hundered other things, but nothing works. I can compile other sources with ease, but Nehe''s source seems to hate me. Please I''m begging, some1 please send me the project files. Email it to me at spiper@cmc.net It can''t be that hard for ya all, just a few seconds to make the project in any version of Microsoft Visual C++, and send it to me.

This topic is closed to new replies.

Advertisement