cannot open source file, std lib files
Solved
Installation and Deployment
-
wrote on 3 Aug 2017, 13:44 last edited by
I'm trying to get Qt up and running on Visual Studio 2017 but I can't seem to build the project.
Windows 10
Visual Studio 2017Installed Qt via the online installer selecting msvc2017 version. I added "msvc2017_86\bin" to environment variables. However I'm still getting these errors messages.
This is the output and the error list states lines like
Error (active) E1696 cannot open source file "stddef.h" TestProject c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\include\atomic 15
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 1>moc_BacklogManager.cpp 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory 1>main.cpp 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory
-
wrote on 3 Aug 2017, 15:16 last edited by
Turns out this way due to me editing the Visual Studio 2017 install. For some reason I must have unchecked "Standard Library Modules" during in install. What an idiot.
1/2