Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Can't find "corecrt.h"!
Qt 6.11 is out! See what's new in the release blog

Can't find "corecrt.h"!

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 1.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Qt_crazyerQ Offline
    Qt_crazyerQ Offline
    Qt_crazyer
    wrote on last edited by
    #1

    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.

    JonBJ 1 Reply Last reply
    0
    • Qt_crazyerQ Qt_crazyer

      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.

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #2

      @Qt_crazyer
      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.h to 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.)

      Qt_crazyerQ 1 Reply Last reply
      0
      • JonBJ JonB

        @Qt_crazyer
        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.h to 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.)

        Qt_crazyerQ Offline
        Qt_crazyerQ Offline
        Qt_crazyer
        wrote on last edited by
        #3

        @JNBarchan
        Thank you for your reply. I have solved this problem by downloading a new windows kits and I found this source.

        1 Reply Last reply
        2

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved