本文介绍了Windows.H找不到!救命的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

1> ------构建开始:项目:TatniumD3D,配置:调试Win32 ------

1>编译......

1> d3d8tex.cpp

1> e:\d3d_starterkit_v3.0b \ d3d8 \d3d8tex.cpp(3):致命错误C1083:无法打开包含文件:''windows.h'' :没有这样的文件或目录

1> d3d8int.cpp

1> e:\d3d_starterkit_v3.0b \d3d8 \d3d8int.cpp(3):致命错误C1083:无法打开包含文件:''windows.h'':没有这样的文件或目录

1> d3d8dev.cpp

1> e:\d3d_starterkit_v3.0b \d3d8 \d3d8dev.cpp(3):致命错误C1083:无法打开包含文件:''windows.h'':没有这样的文件或目录

1> main.cpp

1> e:\d3d_starterkit_v3.0b \ d3d8 \ main.cpp(29):致命错误C1083:无法打开包含文件:''windows.h'':没有这样的文件或目录

1> d3d8.cpp

1> e:\d3d_starterkit_v3.0b \d3d8 \d3d8.cpp(1 ):致命错误C1083:无法打开包含文件:''windows.h'':没有这样的文件或目录

1>生成代码...

1>创建浏览信息文件...

1> Microsoft浏览信息维护实用程序版本8.00.50727

1>版权所有(C)Microsoft Corporation。保留所有权利。

1> BSCMAKE:错误BK1506:无法打开文件''。\Debug \ main.sbr'':没有这样的文件或目录

1> ;构建日志保存在file:// e:\ 3D3D_Starterkit_v3.0b \ D3D8 \Debug \ BuildLog.htm

1> TatniumD3D - 6个错误,0警告

==========构建:0成功,1失败,0最新,0跳过==========


问题是什么?它无法找到windows.h,这个文件在哪里?

或更好,如何解决这个问题


谢谢

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


  1. 转到工具 - >选项
  2. 从那里选择项目和解决方案并单击VC ++目录
  3. 选择包含文件;从右上角的下拉框中。
  4. 在该列表中应为此行
  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 "




windows.h文件位于\VC \PlatformSDK \Include中。 Visual Studio安装目录中的文件夹。


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


这篇关于Windows.H找不到!救命的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-05 02:40