问题
Installed the WDK from: https://docs.microsoft.com/en-us/windows-hardware/drivers/download-the-wdk
Afterwords I can no longer compile any VC++ project. Repairing Visual Studios install doesn't fix the issue.
System: Windows 10, x64, Visual Studio 2017
Uninstalling all WDK (Windows Driver Kit) stuff seems to fix the problem but means I can't compile libs that depend on it.
回答1:
The error list gave me a bit more of a hint on how to solve this.
After installing the Spectre-mitigated libraries I was able to build my project - MSVCRT.lib was found. There isn't enough info in your initial post to tell whether this is your issue, but if you get this error, it may be that Visual Studio isn't able to find the particular runtime that it's looking for.
来源:https://stackoverflow.com/questions/55230514/after-installing-wdk-vc-is-broken