473,480 Members | 2,325 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Windows.H not found! Help

26 New Member
1>------ Build started: Project: TatniumD3D, Configuration: Debug Win32 ------
1>Compiling...
1>d3d8tex.cpp
1>e:\d3d_starterkit_v3.0b\d3d8\d3d8tex.cpp(3) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>d3d8int.cpp
1>e:\d3d_starterkit_v3.0b\d3d8\d3d8int.cpp(3) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>d3d8dev.cpp
1>e:\d3d_starterkit_v3.0b\d3d8\d3d8dev.cpp(3) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>main.cpp
1>e:\d3d_starterkit_v3.0b\d3d8\main.cpp(29) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>d3d8.cpp
1>e:\d3d_starterkit_v3.0b\d3d8\d3d8.cpp(1) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>Generating Code...
1>Creating browse information file...
1>Microsoft Browse Information Maintenance Utility Version 8.00.50727
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>BSCMAKE: error BK1506 : cannot open file '.\Debug\main.sbr': No such file or directory
1>Build log was saved at "file://e:\D3D_Starterkit_v3.0b\D3D8\Debug\BuildLog.htm"
1>TatniumD3D - 6 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Whats the problem? It cant find windows.h , Where does this file orginally to be??
Or better , How to fix this

Thanks
Apr 20 '07 #1
12 37783
sake
46 New Member
1>------ Build started: Project: TatniumD3D, Configuration: Debug Win32 ------
1>Compiling...
1>d3d8tex.cpp
1>e:\d3d_starterkit_v3.0b\d3d8\d3d8tex.cpp(3) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>d3d8int.cpp
1>e:\d3d_starterkit_v3.0b\d3d8\d3d8int.cpp(3) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>d3d8dev.cpp
1>e:\d3d_starterkit_v3.0b\d3d8\d3d8dev.cpp(3) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>main.cpp
1>e:\d3d_starterkit_v3.0b\d3d8\main.cpp(29) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>d3d8.cpp
1>e:\d3d_starterkit_v3.0b\d3d8\d3d8.cpp(1) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
1>Generating Code...
1>Creating browse information file...
1>Microsoft Browse Information Maintenance Utility Version 8.00.50727
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>BSCMAKE: error BK1506 : cannot open file '.\Debug\main.sbr': No such file or directory
1>Build log was saved at "file://e:\D3D_Starterkit_v3.0b\D3D8\Debug\BuildLog.htm"
1>TatniumD3D - 6 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Whats the problem? It cant find windows.h , Where does this file orginally to be??
Or better , How to fix this

Thanks
I'm not an expert on this (or anything else for that matter), but I think header files are part of your compiler. So maybe a reinstall of your compiler would fix it?
Hope that helps a bit,
Austen
Apr 20 '07 #2
Atli
5,058 Recognized Expert Expert
Based on the output there I'm gona assume your using Visual Studio 2005?

If so you are probbly missing a include path.

Try doint the following:
  1. Go to Tools->Option
  2. From there select "Projects and Solutions" and click the "VC++ Directories"
  3. Select "Include files" from the top right dropdown box.
  4. In that list should be this line "$(VCInstallDir)PlatformSDK\Include"
  5. If it is not, add it and you should be good to go.

The windows.h file is in the "\VC\PlatformSDK\Include" folder in your Visual Studio install directory.
Apr 21 '07 #3
nirJianWu
7 New Member
I'm not sure you're using Visual Studio 2005 or just the Visual C++ 2005 Express.

If you're using the Express edition, then you have to install a platform
SDK, in which you'll find "windows.h".

good luck:)
Apr 21 '07 #4
unknownbomb
26 New Member
Im using Visual Studio 2005 yes.

Seems ive no Windows.H there.

Can i get the file somewhere?
Apr 21 '07 #5
unknownbomb
26 New Member
Re: Windows.H not found! Help
--------------------------------------------------------------------------------

Based on the output there I'm gona assume your using Visual Studio 2005?

If so you are probbly missing a include path.

Try doint the following:

Go to Tools->Option
From there select "Projects and Solutions" and click the "VC++ Directories"
Select "Include files" from the top right dropdown box.
In that list should be this line "$(VCInstallDir)PlatformSDK\Include"
If it is not, add it and you should be good to go.

The windows.h file is in the "\VC\PlatformSDK\Include" folder in your Visual Studio install directory.




http://img214.imageshack.us/img214/2484/optionscy4.jpg

There are the paths Visual Studio 2005 is using..
Apr 21 '07 #6
ayan4u
86 New Member
did u write "Windows.H"..............????....as u specified...

if tht is the case bother to write "windows.h" instead..........
Apr 21 '07 #7
unknownbomb
26 New Member
Fixed it. Now it cant find D3D8.h omg :s I got that in my D3D8 map tho.
Apr 21 '07 #8
unknownbomb
26 New Member
Fixed it. Now it cant find D3D8.h omg :s I got that in my D3D8 map tho.

1>------ Build started: Project: TatniumD3D, Configuration: Debug Win32 ------
1>Compiling...
1>d3d8tex.cpp
1>e:\d3d_starterkit_v3.0b\d3d8\d3d8.h(8) : fatal error C1083: Cannot open include file: 'd3dx8.h': No such file or directory
1>d3d8int.cpp
1>e:\d3d_starterkit_v3.0b\d3d8\d3d8.h(8) : fatal error C1083: Cannot open include file: 'd3dx8.h': No such file or directory
1>d3d8dev.cpp
1>e:\d3d_starterkit_v3.0b\d3d8\d3d8.h(8) : fatal error C1083: Cannot open include file: 'd3dx8.h': No such file or directory
1>main.cpp
1>e:\d3d_starterkit_v3.0b\d3d8\d3d8.h(8) : fatal error C1083: Cannot open include file: 'd3dx8.h': No such file or directory
1>d3d8.cpp
1>e:\d3d_starterkit_v3.0b\d3d8\d3d8.h(8) : fatal error C1083: Cannot open include file: 'd3dx8.h': No such file or directory
1>Generating Code...
1>Creating browse information file...
1>Microsoft Browse Information Maintenance Utility Version 8.00.50727
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>BSCMAKE: error BK1506 : cannot open file '.\Debug\main.sbr': No such file or directory
1>Build log was saved at "file://e:\D3D_Starterkit_v3.0b\D3D8\Debug\BuildLog.htm"
1>TatniumD3D - 6 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Apr 21 '07 #9
nirJianWu
7 New Member
omg...

I do feel that your "include path" gets something wrong..

so can you find the "d3d8.h" header file on your local machine?
Apr 21 '07 #10
weaknessforcats
9,208 Recognized Expert Moderator Expert
Whever you #include a header you have two choices:

#include "myheader.h"

or

#include <myheader.h>

The difference is that by using quotes you tell the preprocessor that the header file is in the present working directory (PWD). For Visual Studio.NET 2005, that is the folder constainf your project file (.vcproj). If the header is not there, then it must be in a "standard place".

By using angle berackets, the header must be in a standard place.

A standard place is a series of pre-defined paths to yuor header files. For a project, right-click on the project name and select Properties from the drop-down menu.
Next, select C/C++ in the left pane. Next, select General in the left pane. Next, put your path in the property "Addtional Include Directories". You can either type the path or use the browse buttons to navigate to the folder that contains the file and click Open. Multiple paths are separated by a semi-colon.
Apr 21 '07 #11
Atli
5,058 Recognized Expert Expert
Fixed it. Now it cant find D3D8.h omg :s I got that in my D3D8 map tho.
This is the same problem as you had with the "windows.h" file.
If you managed to fix that you should be able to fix this using the same method, only this time you'd want to use the Include folder in the DirectX SDK directory.

How did you fix the "windows.h" problem btw?
Apr 21 '07 #12
unknownbomb
26 New Member
With Downloading latest Platform SDK and move the INCLUDE, LIB,BIN Maps to the VC map.

ok I will try ty
Apr 22 '07 #13

Sign in to post your reply or Sign up for a free account.

Similar topics

2
1973
by: phreeskier | last post by:
i want to implement authorization with windows authentication and don't have the slightest clue of how to do this implementation. the basic windows authentication for this .NET application is...
0
1198
by: Raymond L. Buvel | last post by:
I am preparing to release an extension module that interfaces Python to the Class Library for Numbers (http://www.ginac.de/CLN/). This module will provide Python types for arbitrary precision...
1
258
by: Girish | last post by:
Im looking for information on how to build a windows service (not web service) on a .net enabled platform. Now, ive had some experience building services using vc++ 6.0 - and I can tell you its...
0
1144
by: Mansi | last post by:
I'm trying to use the System.Windows.Forms.Help class (from a stand alone C# application) to open up a URL. So for example, Help.ShowHelp(this, "http://www.SomeUrl.com"). Once this page is...
3
1554
by: TM | last post by:
Asp.Net Experts, I am build a sample .Net in Asp.Net (c#) using VS.net 2003 with .NFW 1.1. 1. At first, it compiles successfully with "release" version. I ran it and it works fine. 2. Then I...
0
833
by: Le9569 | last post by:
Good morning, all. I have a web application that hosts in windows 2000. Now I want to move to new web server using windows 2003. The problem is the application is referencing some .dll files...
5
2860
by: Andrew | last post by:
Hey all, Requesting help from the VB.Net gurus in here. I was given a task to write a Windows Service (VB.Net) that would run an external program, and if that program closed for any reason...
3
2449
by: s_emiliano | last post by:
I am trying to get " feed to javascript" (http://jade.mcli.dist.maricopa.edu/feed/index.php) to run on my windows 2003 server. The testing script that they they provide gives this error when run:...
5
3266
by: dm3281 | last post by:
I'm really starting to hate writing services -- or trying to, anyway. Why do I need to rename my project to the service name? Why do I need to set the "ServiceName" property to my service name?...
0
7051
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7054
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6750
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5353
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4493
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3003
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1307
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
567
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
193
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.