liamkf / Unreal_FASTBuild

Allows UnrealEngine to be built with FASTBuild for VS2015/VS2017 and Windows 10.
MIT License
180 stars 71 forks source link

Couldn't find response file when building game project after cleaning UE4 project #36

Open BrodyHiggerson opened 5 years ago

BrodyHiggerson commented 5 years ago

Currently using VS 19.5 and 4.21.2, if I clean only the UE4 project (right-click UE4 project -> project-only -> clean only UE4) then right-click and build the game project, I get the following for a whole bunch of engine files:

2>Looks like a response file in:  @"C:\_programming\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Editor\Development\Engine\SharedPCH.Engine.h.pch.response", but we could not load it! Could not find file 'C:\_programming\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Editor\Development\Engine\SharedPCH.Engine.h.pch.response'.
2>We failed to find /fo, which may be a problem.
2>Action.CommandArguments:  @"C:\_programming\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Editor\Development\Engine\SharedPCH.Engine.h.pch.response"
2>We have no OutputObjectFileName. Bailing.
2>Looks like a response file in:  @"C:\_programming\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Editor\Development\UnrealEd\SharedPCH.UnrealEd.h.pch.response", but we could not load it! Could not find file 'C:\_programming\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Editor\Development\UnrealEd\SharedPCH.UnrealEd.h.pch.response'.
2>We failed to find /fo, which may be a problem.

And my game project complains about missing files:

fatal error C1083: Cannot open include file: 'C:\_programming\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Editor\Development\UnrealEd\SharedPCH.UnrealEd.h': No such file or directory

Seems to be solved by cleaning the game project as well, but curious what this may be. Note: I am using caching.

Thanks!