unknown.prince
unknown.prince

Reputation: 752

can't find C headers after updating to vs2017 15.2

I updated my VS2017 to 15.2 Community Edition, but now the previous project that is actually developed in VS2017 now not compiling, it can't able to find any c headers and I can't use c++ counterparts{ c* }because I had to make it compile on some really old compilers like Turbo C++ and I want to change as less as much as I can when I ready them to compile on older compilers

Upvotes: 0

Views: 398

Answers (1)

Vasiliy Galkin
Vasiliy Galkin

Reputation: 2036

This discussion from MSDN forums sheds some light on the matter. I'll quote one of the answers there:

The C runtime has become a OS component and its headers and libraries are now part of the Windows SDK instead of VC++. I don't have a machine with VS2015 handy to check the exact paths but search for them in C:\Program Files (x86)\Windows Kits. If you can't find there then something went wrong during VS install.

You can find some details in this announce from Microsoft.

Section "Building Software using the Universal CRT" states:

Previously, all of the CRT headers, sources, and libraries were distributed as part of the Visual C++ SDK, installed in the VC subdirectory of your Visual Studio installation (generally C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC). The files for the VCRuntime are still part of the Visual C++ SDK. The headers, sources, and libraries are now distributed as part of a separate Universal CRT SDK. This SDK is included with Visual Studio; it is installed by default to C:\Program Files (x86)\Windows Kits\10.

Upvotes: 2

Related Questions