Can't get visual studio C++ include file 'excpt.h' to get installed

前端 未结 8 2111
隐瞒了意图╮
隐瞒了意图╮ 2020-12-16 20:13

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 direc

相关标签:
8条回答
  • 2020-12-16 21:05

    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.

    0 讨论(0)
  • 2020-12-16 21:11

    I had the same problem, and tried the answer given by OP, but it did not work. However, copying the contents of C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC (specifically bin, lib, and include) from a machine that did work to this machine worked.

    0 讨论(0)
提交回复
热议问题