1. Problem description:
After the Visual Studio 2017 installation is complete, the source code prompts:
“Could not find source Windows.h”
“Could not find source file stdio.h”
“Could not find source file tchar.h”
The error code is as follows:
After the Visual Studio 2017 installation is complete, the source code prompts:
“Could not find source Windows.h”
“Could not find source file stdio.h”
“Could not find source file tchar.h”
The error code is as follows:
2. Causes of the problem:
The Windows 10 SDK for Desktop C++ [x86 and x64] (10.0.16299.0) module was omitted during the installation of VS2017.
3. Problem solving:
(1) Open VisualStudio Installer and click Modify in VisualStudio Installer.
(2) Select a single component;
(3) Check “Windows 10SDK (10.0.16299.0) for Desktop C++ [x86 and x64]” module, check this module will automatically add “Windows 10SDK (10.0.16299.0) for UWP(C ++)” and “Windows 10SDK (10.0.16299.0) for UWP(C#, VB, JS)” module;
(4) Finally click the Modify button to add these modules. Problem solved.
4. The operation process is as follows:
Read More:
- Solution: vs2017 cannot open header files such as stdio. H main. H
- Vs2017 C + + cannot open source file: “sdkddkver. H”, “stdio. H”, “TCHAR. H”
- Vs cannot open the source file unistd. H under Windows
- gcc /usr/include/stdio.h:27:10: fatal error: bits/libc-header-start.h: No such file or directory
- Vs2015 cannot open the file string. H, etc
- Solution of unable to open source file “StdAfx. H” in vs2013 / 2012
- Vs error prompt: “unable to open source file XXXX. H” possible reasons and Solutions
- Win10 vs 2017 prompt cannot open include file: “windows. H”: no such file or director
- Vs compiling OpenGL project, the solution of unable to open the source file “GL / glaux. H” appears
- Vs cannot open source file “XXX. H” problem
- 【linux】error: stdio.h: No such file or directory
- How to solve the problem of “unable to open source file XXXXX. H” in VS development?
- Ubuntu has solved the error of h5py installation: building wheel for h5py( setup.py )… or error: failed building wheel for h5py
- Vs2017 cannot open the source file “XXX. H” by adding a file name after creating a new class
- Solution of VS2008 unable to open GL / glaux. H header file
- IntelliSense in VC + + 2010: unable to open source file “StdAfx. H”
- Solve the problem that the header file of “graphics. H” cannot be loaded in vs2015
- Compiling the pi_kernel source code appears: fatal error: openssl/opensslv.h: No such file or directory
- About installing SQL server 0 in Windows 10 20h2 × 84bb0001 is one of the solutions
- VS2010 compiler can’t open include file: “GL / glaux. H”: no such file or directory