Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. stddef.h No such file or directory
Forum Updated to NodeBB v4.3 + New Features

stddef.h No such file or directory

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 2 Posters 2.5k Views 1 Watching
  • 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.
  • K Offline
    K Offline
    Kakugen
    wrote on last edited by
    #1

    Hello everyone,
    I got to remove and re-intall QtCreator last day because it stopped to auto-detect the windows kit.
    After the reinstall, all my project have the same problem : "C1083 stddef.h No such file or directory"
    I know that it come beacause bad association of version, so :

    • I installed MSVC 2017 64-bits (like my pc) in Qt 5.12.3
    • I installed the last version of Visual Studio 2017
    • Project created : Qt application with widget with the kit "Deskop Qt 5.12.3 MSVC2017 64 bit" (without any modification, I don't know what modify)
    • I have the last windows kit

    I hope you can help me
    Thanks for read (and sorry for my bad english)

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Kakugen said in stddef.h No such file or directory:

      "C1083 stddef.h N

      Hi
      Did you also installed the win 10 sdk ?
      https://forum.qt.io/topic/91057/c1083-cannot-open-include-file-stddef-h-no-such-file-or-directory/13
      Else it must be something wrong with the kits.

      K 1 Reply Last reply
      2
      • mrjjM mrjj

        @Kakugen said in stddef.h No such file or directory:

        "C1083 stddef.h N

        Hi
        Did you also installed the win 10 sdk ?
        https://forum.qt.io/topic/91057/c1083-cannot-open-include-file-stddef-h-no-such-file-or-directory/13
        Else it must be something wrong with the kits.

        K Offline
        K Offline
        Kakugen
        wrote on last edited by Kakugen
        #3

        Hi,
        To be sure, I installed again the win 10 sdk. I followed the last triks said in the links, I add :

        INCLUDEPATH += "C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt"
        LIBS += -L"C:\Program Files (x86)\Windows Kits\10\Lib\10.0.18362.0\ucrt\x86"
        

        to my .pro, then the error message change :
        "LNK1104 impossible to open the file 'shell32.lib' "
        I cheked in the folder of .lib, and this file is really absent. I think I missed something

        By advance, thanks for your help

        EDIT : I tested my VS2017, it's all down too, I will re-install it before trying to fix my Qt (but VS2019 still work)
        EDIt 2 : VS2017 fixed, just needed to set the win SDK in option, and build tools (but the SDK seems work well with VS)

        1 Reply Last reply
        2
        • S szumial referenced this topic on

        • Login

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