Jump to content
  • Advertisement
Sign in to follow this  
Dko

Not useto VC++ 2005 beta

This topic is 4939 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 just had the program covert a project from a book of mine. Well when I compile I get. f:\Slideshow\Bitmap.h(11) : fatal error C1083: Cannot open include file: 'windows': No such file or directory GameEngine.cpp Kinda weird to me how it can't find windows.h. If this is a normal accurace how can I get it to work?

Share this post


Link to post
Share on other sites
Advertisement
Well I didn't think it was neccsarry. Its just a include for windows.h. Like this.

//-----------------------------------------------------------------
// Game Engine Object
// C++ Header - GameEngine.h
//-----------------------------------------------------------------

#pragma once

//-----------------------------------------------------------------
// Include Files
//-----------------------------------------------------------------
#include <windows.h>

//-----------------------------------------------------------------
// Windows Function Declarations
//-----------------------------------------------------------------
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
PSTR szCmdLine, int iCmdShow);
LRESULT CALLBACK WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);

Share this post


Link to post
Share on other sites
If the error says "Cannot open include file: 'windows'" then maybe you should make it include 'windows.h' instead.

edit: The error says it's on line 11 of 'Bitmap.h', so that's where you should look.

Share this post


Link to post
Share on other sites
Well I get the error for all the includes for windows.h. Just copyed and pasted the one I was looking at.*shrug* EDIT: Ohh that was from when I tried making <windows.h> just <windows> Don't work eigther way.

Share this post


Link to post
Share on other sites
IIRC, the beta doesn't include the platform SDK (just the .NET), so you'd have to download and install it (or if you've got another version of vc.net, just add the appropriate include path).

Share this post


Link to post
Share on other sites
Yay im smart. >< Already uninstalled my old copy of VC++ 6.0 Well ill off to get the SDK then.

Share this post


Link to post
Share on other sites
Acttualy which SDK should I download for a WIN XP sp2 comp? THey have a couple things I could download and its a bit confusing.

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!