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

后端 未结 12 1761
误落风尘
误落风尘 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 03:06

    I had the same problem building VS 2013 Project with Visual Studio 2017 IDE. The solution was to set the right "Platformtoolset v120 (Visual Studio 2013). Therefor there must be the Windows SDK 8.1 installed. If you want to use Platformtoolset v141 (Visual Studio 2017) there must be Windows SDK 10. The Platformtoolset can be chosen inside the properties dialog of the project: General -> Platformtoolset

提交回复
热议问题