Cannot build Linux if Windows game not previously built?

Hi,

As part of our CI workflow we separately build and each of our current target platforms on a Windows host. However, when Linux builds are checked out and built, we encounter the following issue:

UnrealBuildTool: In file included from C:\Program Files (x86)\Jenkins\jobs\Unreal Engine 4\workspace\Engine\Source\Editor\EditorStyle\Private\EditorStyleClasses.cpp:3:
UnrealBuildTool: In file included from C:\Program Files (x86)\Jenkins\jobs\Unreal Engine 4\workspace\Engine\Source\Editor\EditorStyle\Private/EditorStylePrivatePCH.h:6:
UnrealBuildTool: In file included from Editor/EditorStyle/Public\EditorStyle.h:11:
UnrealBuildTool: In file included from Runtime/Slate/Public\SlateBasics.h:8:
UnrealBuildTool: In file included from Runtime/SlateCore/Public\SlateCore.h:100:
UnrealBuildTool: In file included from Runtime/SlateCore/Public/Styling\SlateWidgetStyleAsset.h:4:
UnrealBuildTool: In file included from Runtime/SlateCore/Public/Styling/SlateWidgetStyleContainerBase.h:5:
UnrealBuildTool: Runtime/SlateCore/Public/Styling/SlateWidgetStyleContainerInterface.h(5,10) :  fatal error: 'SlateWidgetStyleContainerInterface.generated.h' file not found
UnrealBuildTool: #include "SlateWidgetStyleContainerInterface.generated.h"
UnrealBuildTool:          ^

This issue does not appear building Windows builds or the editor.

Should not be the case. What branch/release is that?

This is 4.6.

Hey ceph3us-

Sorry for the delayed response, are you still experiencing this bug in the latest 4.7.1?

I don’t have the setup necessary to test this right now. I’ll try and get it done tomorrow.

Hey ceph3us-

Have you had the chance to test if you’re still having this problem in 4.7.2 (latest available version)? I will be marking this post as resolved for tracking purposes however if you test and find that this is still an issue feel free to reopen this thread and we will investigate further.

Cheers