It seems something goes wrong during precompiled headers generation. I get errors like:
1>------ Build started: Project: ShaderCacheTool, Configuration: Development_Program x64 ------
1> Creating makefile for ShaderCacheTool (no existing makefile)
1> Performing full C++ include scan (no include cache file)
1> Performing 17 actions (4 in parallel)
1> PCH.Core.h.cpp
1> PCH.CorePrivatePCH.h.cpp
1> Module.RenderCore.cpp
1> Module.RHI.cpp
1> Module.Projects.cpp
1> Module.Json.cpp
1>C:\libs\UnrealEngine\Engine\Intermediate\Build\Win64\ShaderCacheTool\Development\RenderCore\Module.RenderCore.cpp : error C4605: ‘/DORIGINAL_FILE_NAME=“ShaderCacheTool.exe”’ specified on current command line, but was not specified when precompiled header was built
1>C:\libs\UnrealEngine\Engine\Intermediate\Build\Win64\ShaderCacheTool\Development\RenderCore\Module.RenderCore.cpp : error C4605: ‘/DRENDERCORE_API=’ specified on current command line, but was not specified when precompiled header was built
1>C:\libs\UnrealEngine\Engine\Intermediate\Build\Win64\ShaderCacheTool\Development\RenderCore\Module.RenderCore.cpp : error C4605: ‘/DRHI_API=’ specified on current command line, but was not specified when precompiled header was built
1>C:\libs\UnrealEngine\Engine\Intermediate\Build\Win64\ShaderCacheTool\Development\RenderCore\Module.RenderCore.cpp : error C4599: ‘/IC:\libs\UnrealEngine\Engine\Source\Runtime\RenderCore\Public’: command line argument number 2 does not match precompiled header
1>C:\libs\UnrealEngine\Engine\Intermediate\Build\Win64\ShaderCacheTool\Development\RHI\Module.RHI.cpp : error C4605: ‘/DORIGINAL_FILE_NAME=“ShaderCacheTool.exe”’ specified on current command line, but was not specified when precompiled header was builtC:\libs\UnrealEngine\Engine\Intermediate\Build\Win64\ShaderCacheTool\Development\Projects\Module.Projects.cpp: error C4605: ‘/DORIGINAL_FILE_NAME=“ShaderCacheTool.exe”’ specified on current command line, but was not specified when precompiled header was built
1>
…
Sources obtained from git.
Followed the instructions in Readme.md.
Deleted the intermediates (Engine\Intermediate\Build), cleaned the solution… the problems remain.
The same thing happens on release, promoted and branches
(commits 4e83cfda9af6d4012c4052415acb1213c23778bc , 14cc08332d17834979389c3c9a41c9adb6215814 , and 879939a60a234cc7bb795a229aca766e5917deeb respectively).
Visual version:
Microsoft Visual Studio Community 2015
Version 14.0.25421.03 Update 3
Microsoft .NET Framework
Version 4.6.01038
Installed Version: Community
Visual C# 2015 00322-20000-00000-AA357
Microsoft Visual C# 2015
Visual C++ 2015 00322-20000-00000-AA357
Microsoft Visual C++ 2015
Any workarounds?