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. Build issues with Qt Creator - Cannot open include file: 'stddef.h'
QtWS25 Last Chance

Build issues with Qt Creator - Cannot open include file: 'stddef.h'

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
5 Posts 3 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.
  • Y Offline
    Y Offline
    Yars
    wrote on last edited by
    #1

    Hi,
    I am trying to run the Test run on sample widget in QT Creator after the installation is completed and see the below error when i try to build:
    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.14.26428\include\cstddef:7: error: C1083: Cannot open include file: 'stddef.h': No such file or directory

    I have installed QT 5.10.1 with Visual Studios2017 on Windows 7.
    Does anyone faced the similar error?. Any help would be appreciated!.

    aha_1980A 1 Reply Last reply
    0
    • Y Yars

      Hi,
      I am trying to run the Test run on sample widget in QT Creator after the installation is completed and see the below error when i try to build:
      C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.14.26428\include\cstddef:7: error: C1083: Cannot open include file: 'stddef.h': No such file or directory

      I have installed QT 5.10.1 with Visual Studios2017 on Windows 7.
      Does anyone faced the similar error?. Any help would be appreciated!.

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

      @Yars have you checked if there is such a file in the include directory?

      Qt has to stay free or it will die.

      Y 1 Reply Last reply
      1
      • aha_1980A aha_1980

        @Yars have you checked if there is such a file in the include directory?

        Y Offline
        Y Offline
        Yars
        wrote on last edited by
        #3

        @aha_1980
        Yes. it is in there

        JonBJ 1 Reply Last reply
        0
        • Y Yars

          @aha_1980
          Yes. it is in there

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

          @Yars
          Which file do you mean? cstddef is looking for stddef.h, and saying that file does not exist.

          Y 1 Reply Last reply
          0
          • JonBJ JonB

            @Yars
            Which file do you mean? cstddef is looking for stddef.h, and saying that file does not exist.

            Y Offline
            Y Offline
            Yars
            wrote on last edited by
            #5

            @JonB

            I see both cstddef and stddef.h in all the include directories. Is there any specific location i need to check at?. I am brand new to the QT so kind of figuring out how to make this work.

            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