Unsolved Build issues with Qt Creator - Cannot open include file: 'stddef.h'
-
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 directoryI have installed QT 5.10.1 with Visual Studios2017 on Windows 7.
Does anyone faced the similar error?. Any help would be appreciated!. -
@Yars have you checked if there is such a file in the include directory?
-
@aha_1980
Yes. it is in there -
@Yars
Which file do you mean?cstddef
is looking forstddef.h
, and saying that file does not exist. -
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.