Can't find "corecrt.h"!
When I try to debug my code today, it suddenly has the following issues:
F:\Microsoft Visual Studio 14.0\VC\include\crtdefs.h:10: error: C1083: Cannot open file included: “corecrt.h”: No such file or directory.
I try to find solution by internet, but this problem still appears. I want to know how to solve this problem.
When stepping into or hitting an erroring line via debugging, to show source code debugger may try to locate some Visual Studio source files that you do not necessarily have, or might be in a different path location.
You can usually manage without the lowest level C library files (i.e. just ignore the error and manage without the source file for the line), or you may have to download extra VS source files (you can Google for
corecrt.hto see where from, e.g. https://developercommunity.visualstudio.com/content/problem/8023/cannot-open-include-file-corecrth.html), or you may have to tell VS what the correct path is for the file. (And, no, I don't know which.)
Thank you for your reply. I have solved this problem by downloading a new windows kits and I found this source.