Cannot open include file: 'stdio.h' - Visual Studio Community 2017 - C++ Error

后端 未结 12 1749
误落风尘
误落风尘 2020-12-15 02:27

I am trying to Build a Solution on Visual Studio Community 2017, but I keep getting the error \"Cannot open include file: \'stdio.h\' \". I\'ve read through

12条回答
  •  天命终不由人
    2020-12-15 02:57

    Just in case you don't want to bump Windows SDK to Windows 10 (you could be for example working on an open source project where the decision isn't yours to make), you can solve this problem in a Windows SDK 8.1 project by navigating Tools -> Get Tools and Features... -> Individual Compontents tab and installing the individual components "Windows 8.1 SDK" (under SDKs, libraries and frameworks) and "Windows Universal CRT SDK" (under Compilers, build tools and runtimes):

提交回复
热议问题