I keep getting an error when I build a C++ project in Visual Studio 2017 RC.
1>------ Build started: Project: test, Configuration: Debug x64 ------ 1>Source.cpp 1>LINK : fatal error LNK1104: cannot open file 'ucrtd.lib' 1>Done building project "test.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== OS: Windows 8.1, Visual Studio 2017 Release Candidate
Here is my program:
int main() { } I did not set the language to anything special
I searched my whole machine for the file., but could not find it. I have installed Windows SDK 8.1
Update: After the comment from @user1336087
I tried to install Windows SDK 10I get an error:
[14f0:0009][2016-11-23T09:22:20] Package 'Win10SDK_10.0.14393.33,version=10.0.14393.3300' failed to install. Command executed: "C:\ProgramData\Microsoft\VisualStudio\Packages\Win10SDK_10.0.14393.33,version=10.0.14393.3300\packages\Win10SDK\10.0.14393.33\sdksetup.exe" /features OptionId.WindowsSoftwareDevelopmentKit OptionId.WindowsSoftwareLogoToolkit OptionId.NetFxSoftwareDevelopmentKit /quiet /norestart, Return code: -2146889721, Details: The hash value is not correct. A workaround seems to have been described here: link But the workaround still fails, even when I uninstall all SDK and install again.
