Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Trying to build qt creator from source with MSVC: Cannot open include file: 'stddef.h': No such file or directory

Trying to build qt creator from source with MSVC: Cannot open include file: 'stddef.h': No such file or directory

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
5 Posts 3 Posters 2.2k 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.
  • MikhailGM Offline
    MikhailGM Offline
    MikhailG
    wrote on last edited by MikhailG
    #1

    Hello! Trying to build qt creator (the last available version on github) from source but having this compilation error :

    c:\qt-creator\source\src\shared\qbs\src\shared\qtscript\src\3rdparty\javascriptcore\javascriptcore\wtf\Assertions.h(48): 
    fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory
    

    Qt version: Qt 5.13.1 msvc2017 (32bit)
    MSVC Vesroin: MSVC 2017 14.16.27023

    Environment variables Path:
    C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt
    C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt
    C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt

    Allso I have 2019 VS installed, Qt 5.13.1 msvc2017 (64bit). But error keep happening. I REALLY do not want to reinstall everything from scratch. Maybe I miss something?

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      I would say the Windows SDK is missing. What exact compiler do you use (cl /?) and do you really opened a visual studio command prompt?

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      MikhailGM 2 Replies Last reply
      2
      • Christian EhrlicherC Christian Ehrlicher

        I would say the Windows SDK is missing. What exact compiler do you use (cl /?) and do you really opened a visual studio command prompt?

        MikhailGM Offline
        MikhailGM Offline
        MikhailG
        wrote on last edited by MikhailG
        #3

        @Christian-Ehrlicher Is Some specific SDK or in general it is missing? As for

        @Christian-Ehrlicher said in Trying to build qt creator from source with MSVC: Cannot open include file: 'stddef.h': No such file or directory:

        and do you really opened a visual studio command prompt?

        No, I was trying to built using Qt command prompt. Will try to build using VS command promt.

        @Christian-Ehrlicher said in Trying to build qt creator from source with MSVC: Cannot open include file: 'stddef.h': No such file or directory:

        What exact compiler do you use (cl /?)

        cl.

        aha_1980A 1 Reply Last reply
        0
        • MikhailGM MikhailG

          @Christian-Ehrlicher Is Some specific SDK or in general it is missing? As for

          @Christian-Ehrlicher said in Trying to build qt creator from source with MSVC: Cannot open include file: 'stddef.h': No such file or directory:

          and do you really opened a visual studio command prompt?

          No, I was trying to built using Qt command prompt. Will try to build using VS command promt.

          @Christian-Ehrlicher said in Trying to build qt creator from source with MSVC: Cannot open include file: 'stddef.h': No such file or directory:

          What exact compiler do you use (cl /?)

          cl.

          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @MikhailG said in Trying to build qt creator from source with MSVC: Cannot open include file: 'stddef.h': No such file or directory:

          cl.

          And the version? @Christian-Ehrlicher meant to call cl /? in the command window...

          Regards

          Qt has to stay free or it will die.

          1 Reply Last reply
          1
          • Christian EhrlicherC Christian Ehrlicher

            I would say the Windows SDK is missing. What exact compiler do you use (cl /?) and do you really opened a visual studio command prompt?

            MikhailGM Offline
            MikhailGM Offline
            MikhailG
            wrote on last edited by
            #5

            @Christian-Ehrlicher said in Trying to build qt creator from source with MSVC: Cannot open include file: 'stddef.h': No such file or directory:

            and do you really opened a visual studio command prompt

            Thank you that was it! Wrong command prompt.

            1 Reply Last reply
            0

            • Login

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