Trying to build qt creator from source with MSVC: Cannot open include file: 'stddef.h': No such file or directory
-
wrote on 16 Dec 2019, 20:53 last edited by MikhailG
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.27023Environment 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\ucrtAllso 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?
-
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?
-
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?
wrote on 17 Dec 2019, 09:50 last edited by 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.
-
@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.
@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
-
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?
wrote on 17 Dec 2019, 19:21 last edited by@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/5