473,322 Members | 1,734 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Windows.H not found! Help

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 37749
sake
46
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 Expert 4TB
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
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
Im using Visual Studio 2005 yes.

Seems ive no Windows.H there.

Can i get the file somewhere?
Apr 21 '07 #5
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
did u write "Windows.H"..............????....as u specified...

if tht is the case bother to write "windows.h" instead..........
Apr 21 '07 #7
Fixed it. Now it cant find D3D8.h omg :s I got that in my D3D8 map tho.
Apr 21 '07 #8
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
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 Expert Mod 8TB
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 Expert 4TB
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
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
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
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
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
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
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
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
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
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
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
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.