win7 + VS2013 appears Can not open include file: 'SDKDDKVer.h' problems attached address



http://blog.csdn.net/lvjianchao/article/details/47296469


Win7 installed on the VS2013, a new Demo function, when compiling Can not open include file: 'SDKDDKVer.h ', using a variety of methods, they can not solve the problem, used as follows:

1: Modify Microsoft.Cpp.Win32.user.props, custom add the path of the SDK, compile a new problem, the lack of other documents, which pass

2: Manually add the VC ++ Directories SDK path, compile a new problem, the lack of other documents, which pass

3: completely remove the VS2013, re-installation, the problem remains

The method is completely unloaded, reference http://wla137996229.blog.163.com/blog/static/656993572014101610470483/

Since> [Programs and Features], first uninstall VS2013, after completion, will list the software "up time" sort (that is, click [setup time] label that field), the self-install VS2013 - 1, go to [Control Panel] a time period of a package to uninstall it.
2, open the registry, regedit, following in the path name for the subkey delete 12.0, no matter in which it is included in the parent, all you want to expand as much as possible, to find 12.0:
HKEY_CURRENT_USER \ Software \ in the Microsoft \ Visual Studio
HKEY_LOCAL_MACHINE \ SOFTWARE \ in the Microsoft \ DevDiv
HKEY_LOCAL_MACHINE \ SOFTWARE \ in the Microsoft \ VisualStudio
HKEY_LOCAL_MACHINE \ SOFTWARE \ Wow6432Node \ in the Microsoft \ DevDiv
HKEY_LOCAL_MACHINE \ SOFTWARE \ Wow6432Node \ in the Microsoft \ VisualStudio
if you like, then you can search for "VisualStudio12" and "Visual Studio Professional 2013", will contain maybe items deleted key, of course, that it is quite a lot, it stood little in the way children, but not a big problem (if the problem is to delete it).
3, into the hard drive, will install "Microsoft Visual Studio 12.0" file on the location of the folder can be deleted.

4: Reinstall the pure system, the problem remains

The above method will not work, and finally, ask other colleagues VS2013 already installed, that he also encountered the same problem, he installed windows SDK 8.1 to solve this problem.

I first installed the windows SDK 8.1, and then install VS2013, really solve the problem

This last method is validated feasible.

windows SDK 8.1 Download: https://msdn.microsoft.com/zh-cn/windows/desktop/bg162891

Published 49 original articles · won praise 2 · views 60000 +

Guess you like

Origin blog.csdn.net/Chen_cs/article/details/49329923