不能得到visual studio C ++包含文件'excpt.h'得到安装 [英] Can't get visual studio C++ include file 'excpt.h' to get installed

查看:3843
本文介绍了不能得到visual studio C ++包含文件'excpt.h'得到安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图编译一个视觉工作室C + +项目,我不能得到任何地方,因为编译器报告无法打开包含文件:'excpt.h':没有这样的文件或目录。这个问题已经在互联网上多次报道,但我找不到任何帮助,我的具体情况。问题不是包含路径的项目没有正确设置,问题是这包括文件(可能一堆其他文件)只是从我的电脑丢失。在我的硬盘驱动器上没有这样的文件。所以我试着安装Windows SDK 7.1。该文件不在已安装的SDK(虽然应该是)。我试过修复安装,卸载它,重新安装...所有无数次。我也尝试安装,修复,卸载,重新安装Visual Studio 2010专业无数次,有和没有安装Windows SDK。我甚至尝试卸载专业版安装表达VC ++ ...没有什么似乎工作,没有'excpt.h'从来没有安装在我的电脑上。我无知...有人有一个解决方案的提示?我在Windows 7上。

I'm trying to compile a visual studio C++ project and I can't get anywhere because of the compiler reporting "Cannot open include file: 'excpt.h': No such file or directory". The problem has been reported numerous times on the Internet but I can't find any help regarding my particular situation. The problem is not that the include path of the project are not correctly setup, the problem is that this include file (and probably a bunch of other files) are just missing from my computer. There is no such file on my hard drive. So I tried installing Windows SDK 7.1. The file is not inside the installed SDK (although it should be). I tried repairing the install, uninstall it, reinstall it... all numerous time. I also try to install, repair, uninstall, reinstall Visual Studio 2010 professional numerous time, with and without the Windows SDK installed. I even tried uninstalling the professional version to install the express VC++... nothing seems to work, no 'excpt.h' never get installed on my computer. I am clueless... someone has a hint of a solution? I'm on Windows 7.

作为补充信息,请注意,excpt.h包含在windows.h中。此外,excpt.h文件通常与Windows SDK在c:\program files(x86)\microsoft sdks \windows\v7.1\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\等路径下安装, Visual Studio 10.0 \ Program Files \Microsoft Visual Studio 10.0 \VC \include \。

As supplementary information, note that 'excpt.h' is included in by "windows.h". Also, the "excpt.h" file is normally installed with the Windows SDK under a path like "c:\program files (x86)\microsoft sdks\windows\v7.1\include\" and with Visual Studio under a path like "C:\Program Files\Microsoft Visual Studio 10.0\VC\include\".

编辑: ,我可能补充说,文件夹C:\Program Files \Microsoft Visual Studio 10.0 \VC\include相关我的Visual Studio安装只有两个文件...这当然不正常!但是,我找不到任何方法让安装程序安装应该出现在这个库中的所有.h文件。

If it might help, I might add that the folder C:\Program Files\Microsoft Visual Studio 10.0\VC\include related my Visual Studio install has only two files... which is certainly not normal!!! However, I can't find any ways to get the installer to install all the .h files that should appear in this repertory.

推荐答案

对于那些有相同的问题,这里是解决方案我发现在大约10h的安装/卸载/清洗周期后...我已经卸载完全visual studio使用 this 。之后,使用控制面板,我已经卸载了Windows SDK和可以与它或与视觉工作室(例如.NET框架)相关联的一切。然后,我通过手动删除Visual Studio和Windows SDK文件夹位于C:/ Program文件中删除所有剩下的。最后,我删除了所有与Windows SDK相关的条目或注册表中的Visual Studio(它们位于HKEY_LOCAL_MACHINE \SOFTWARE \ Microsoft)。然后,我重新安装Visual Studio ...它终于正常工作。我应该补充说,我重新启动并清除注册表使用CCleaner后任何安装或卸载步骤。

For those who have the same problem, here is the solution I found after about 10h of install/uninstall/cleaning cycles... I've uninstalled completely visual studio using this. After that, using the control panel, I've uninstalled the Windows SDK and everything that can be associated with it or with visual studio (e.g. .NET framework). Then, I've removed all the left overs by manually deleting the visual studio and the Windows SDK folders located in C:/Program files. Finally, I deleted all the entries related to the Windows SDK or to Visual Studio in the registry (they are located in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft). Then, I reinstalled Visual Studio... and it was finally working correctly. I should add that I restarted and cleaned the registry using CCleaner after any install or uninstall step.

这篇关于不能得到visual studio C ++包含文件'excpt.h'得到安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆