Jump to content

  • Log In with Google      Sign In   
  • Create Account


In VC++, can't make a project


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
5 replies to this topic

#1 Piksel   Members   -  Reputation: 122

Like
Likes
Like

Posted 16 April 2000 - 08:53 AM

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.

Sponsor:

#2 Axehandler   Members   -  Reputation: 122

Like
Likes
Like

Posted 16 April 2000 - 02:44 PM

Have you downloaded the OPENGL from microsoft and added the INCLUDES and LIBS to VC++ so it can use them?



#3 Piksel   Members   -  Reputation: 122

Like
Likes
Like

Posted 16 April 2000 - 03:12 PM

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.

#4 Cloxs   Members   -  Reputation: 122

Like
Likes
Like

Posted 17 April 2000 - 01:22 AM

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."

#5 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 18 April 2000 - 09:58 AM

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.



#6 Piksel   Members   -  Reputation: 122

Like
Likes
Like

Posted 20 April 2000 - 04:00 PM

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.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS