缺少头文件< excpt.h>在Windows SDK中 [英] Missing header file <excpt.h> in the Windows SDK
问题描述
您好,
我尝试使用Windows SDK(从https://developer.microsoft.com/en-us/windows下载)构建Windows程序/ downloads / windows-10-sdk)和LLVM / clang ++ compiller,当< excpt.h>时遇到问题无法找到文件。
我试图在系统中找到此文件,看起来像Windows SDK安装中遗漏的文件。
您能否告诉我如何解决此问题?
c:\Program Files \LLVM \bin> ; clang ++ -c" f:\ Project \ C ++ \ test\test.cpp" -O3 -isystem" c:\Program Files(x86)\ Windows SDK \10 \ Include\10.0.17763.0\\\ -isystem" c:\Program Files(x86)\ Windows SDK \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
-o" f:\ Project \ C ++ \test\test.o"
f:\Project \ C ++ \ test \中包含的文件test.cpp:1:
c:\Program Files(x86)\ Windows SDK \\\\Include\10.0.17763.0\\\\Windows.h:167:10:致命错误:找不到'excpt.h'文件
#include< excpt.h>
&NBSP; &NBSP; &NBSP; ^ ~~~~~~~~
生成1个错误。
谢谢。
检查Visual Studio 2017的"... \ VCC \ Tools \ MSVC"子文件夹(通常在"C:\Program Files(x86)"中)。
Hello,
I've tried to build windows program using Windows SDK (that was downloaded from https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk) and LLVM/clang++ compiller and faced with issue when <excpt.h> file can't be found.
I've tried to find this file in the system and looks like the file missed in the Windows SDK installation.
Could you please advise how can I resolve the issue?
c:\Program Files\LLVM\bin>clang++ -c "f:\Project\C++\test\test.cpp" -O3 -isystem "c:\Program Files (x86)\Windows SDK\10\Include\10.0.17763.0\um" -isystem "c:\Program Files (x86)\Windows SDK\10\Include\10.0.17763.0\shared" -o "f:\Project\C++\test\test.o"In file included from f:\Project\C++\test\test.cpp:1:
c:\Program Files (x86)\Windows SDK\10\Include\10.0.17763.0\um\Windows.h:167:10: fatal error: 'excpt.h' file not found
#include <excpt.h>
^~~~~~~~~
1 error generated.
Thanks.
Check the "…\VC\Tools\MSVC" subfolders of Visual Studio 2017 (usually in "C:\Program Files (x86)").
这篇关于缺少头文件< excpt.h>在Windows SDK中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!