Jump to content
  • Advertisement
Sign in to follow this  
mike74

Visual C++ command-line compiler

This topic is 4875 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Ok, I'm trying to compile an OpenGL maze game using the Visual C++ command-line compiler that you can get for free. I got the following error: Cannot open include file: "windows.h" What's up with that? I checked the include directory, and, indeed, there is no windows.h. Does the free Visual C++ compiler not support developing GUI apps? This is my first time really using it. Mike C. http://www.coolgroups.com/zoomer/

Share this post


Link to post
Share on other sites
Advertisement
You will have to download the Windows Platform SDK (266MB) and the you can use the command line arguments to set the paths so it knows where to look. I think -I to include the include directory and the -L to link in the libararies. This is the case with the command line compiler as well as the Visual C++ 2005 Express Beta IDE as well.

Share this post


Link to post
Share on other sites
Thanks for the tip. Any idea why the file is so large? Dev-c++ seems to have the same functionality roughly in about 8 megs. This is 266 megs, a.k.a. dial-up torture.

Mike C.
http://www.coolgroups.com/zoomer/

Share this post


Link to post
Share on other sites
Quote:
Original post by mike74
Thanks for the tip. Any idea why the file is so large? Dev-c++ seems to have the same functionality roughly in about 8 megs. This is 266 megs, a.k.a. dial-up torture.

Mike C.
http://www.coolgroups.com/zoomer/


There is a ton of stuff in the Platform SDK. It's not just the Windows API, but about every other API you can think of.

Share this post


Link to post
Share on other sites
You can also use the web install, instead of downloading the intire file, this will allow you to selectively install parts of the platform sdk.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!