Download

Build for Linux - Compilation Issue in Development Configuration

Hi,

we are facing some issue when building in Dev Configuration :


29>------ Début de la génération : Projet : UnrealVersionSelector, Configuration : Linux_Development_Program Win32 ------
28>  Building UnrealHeaderTool...
28>  Target is up to date.
28>  Parsing headers for UnrealSync
28>  Reflection code generated for UnrealSync
28>  Performing 28 actions (4 in parallel)
28>  [1/28] Compile CorePrivatePCH.h
28>  [3/28] Compile Module.Slate.2_of_4.cpp
28>  [2/28] Compile Module.Slate.3_of_4.cpp
28>  [4/28] Compile Module.Slate.1_of_4.cpp
28>  [5/28] Compile Module.Slate.4_of_4.cpp
28>  [6/28] Compile Module.UnrealSync.cpp
28>  In file included from D:\Test\ue-sources\UnrealEngine\Engine\Intermediate\Build\Linux\x86_64-unknown-linux-gnu\UnrealSync\Development\UnrealSync\Module.UnrealSync.cpp:2:
28>  In file included from D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private\GUI.cpp:3:
28>D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private/UnrealSync.h(101,21): error : declaration shadows a field of 'FSyncSettings' -Werror,-Wshadow]
28>          FSyncSettings(bool bArtist, bool bPreview, bool bAutoClobber, FString OverrideSyncStep = FString())
28>                             ^
28>  D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private/UnrealSync.h(90,7) :  note: previous declaration is here
28>          bool bArtist;
28>               ^
28>D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private/UnrealSync.h(101,35): error : declaration shadows a field of 'FSyncSettings' -Werror,-Wshadow]
28>          FSyncSettings(bool bArtist, bool bPreview, bool bAutoClobber, FString OverrideSyncStep = FString())
28>                                           ^
28>  D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private/UnrealSync.h(93,7) :  note: previous declaration is here
28>          bool bPreview;
28>               ^
28>D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private/UnrealSync.h(101,50): error : declaration shadows a field of 'FSyncSettings' -Werror,-Wshadow]
28>          FSyncSettings(bool bArtist, bool bPreview, bool bAutoClobber, FString OverrideSyncStep = FString())
28>                                                          ^
28>  D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private/UnrealSync.h(96,7) :  note: previous declaration is here
28>          bool bAutoClobber;
28>               ^
28>D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private/UnrealSync.h(101,72): error : declaration shadows a field of 'FSyncSettings' -Werror,-Wshadow]
28>          FSyncSettings(bool bArtist, bool bPreview, bool bAutoClobber, FString OverrideSyncStep = FString())
28>                                                                                ^
28>  D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private/UnrealSync.h(99,10) :  note: previous declaration is here
28>          FString OverrideSyncStep;
28>                  ^
28>  In file included from D:\Test\ue-sources\UnrealEngine\Engine\Intermediate\Build\Linux\x86_64-unknown-linux-gnu\UnrealSync\Development\UnrealSync\Module.UnrealSync.cpp:2:
28>D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private\GUI.cpp(268,39): error : declaration shadows a field of 'SEditorRunningDlg' -Werror,-Wshadow]
28>          FReply HandleButtonClicked(EResponse Response)
28>                                               ^
28>  D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private\GUI.cpp(281,12) :  note: previous declaration is here
28>          EResponse Response;
28>                    ^
28>D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private\GUI.cpp(428,33): error : declaration shadows a field of 'SRadioContentSelection::FItem' -Werror,-Wshadow]
28>                  FItem(SRadioContentSelection& Parent, int32 Id, FText Name, TSharedRef<SWidget> Content)
28>                                                ^
28>  D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private\GUI.cpp(529,27) :  note: previous declaration is here
28>                  SRadioContentSelection& Parent;
28>                                          ^
28>D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private\GUI.cpp(428,47): error : declaration shadows a field of 'SRadioContentSelection::FItem' -Werror,-Wshadow]
28>                  FItem(SRadioContentSelection& Parent, int32 Id, FText Name, TSharedRef<SWidget> Content)
28>                                                              ^
28>  D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private\GUI.cpp(519,9) :  note: previous declaration is here
28>                  int32 Id;
28>                        ^
28>D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private\GUI.cpp(428,57): error : declaration shadows a field of 'SRadioContentSelection::FItem' -Werror,-Wshadow]
28>                  FItem(SRadioContentSelection& Parent, int32 Id, FText Name, TSharedRef<SWidget> Content)
28>                                                                        ^
28>  D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private\GUI.cpp(521,9) :  note: previous declaration is here
28>                  FText Name;
28>                        ^
28>D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private\GUI.cpp(428,83): error : declaration shadows a field of 'SRadioContentSelection::FItem' -Werror,-Wshadow]
28>                  FItem(SRadioContentSelection& Parent, int32 Id, FText Name, TSharedRef<SWidget> Content)
28>                                                                                                  ^
28>  D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private\GUI.cpp(526,23) :  note: previous declaration is here
28>                  TSharedRef<SWidget> Content;
28>                                      ^
28>D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private\GUI.cpp(429,6): warning : field 'Parent' will be initialized after field 'Id' -Wreorder]
28>                          : Parent(Parent), Id(Id), Name(Name), Content(Content)
28>                            ^
28>D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private\GUI.cpp(655,47): warning : 'CreateSynchEvent' is deprecated: Please use GetSynchEventFromPool to create a new event, and ReturnSynchEventToPool to release the event. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. -Wdeprecated-declarations]
28>                  DataReady = MakeShareable(FPlatformProcess::CreateSynchEvent(true));
28>                                                              ^
28>  Runtime/Core/Public\GenericPlatform/GenericPlatformProcess.h(437,23) :  note: 'CreateSynchEvent' has been explicitly marked deprecated here
28>          static class FEvent* CreateSynchEvent(bool bIsManualReset = false);
28>                               ^
28>  In file included from D:\Test\ue-sources\UnrealEngine\Engine\Intermediate\Build\Linux\x86_64-unknown-linux-gnu\UnrealSync\Development\UnrealSync\Module.UnrealSync.cpp:2:
28>D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private\GUI.cpp(1357,14): error : use of undeclared identifier 'ProcessPath'
28>                  RunProcess(ProcessPath);
28>                             ^
28>D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private\GUI.cpp(1400,38): error : declaration shadows a field of 'SMainTabWidget' -Werror,-Wshadow]
28>          bool SyncingProgress(const FString& Log)
28>                                              ^
28>  D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private\GUI.cpp(1587,23) :  note: previous declaration is here
28>          TSharedPtr<SSyncLog> Log;
28>                               ^
28>D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private\GUI.cpp(1537,45): error : use of undeclared identifier 'GetPossibleExecutablePaths'
28>                  for (const auto& PossibleExecutablePath : GetPossibleExecutablePaths())
28>                                                            ^
28>  In file included from D:\Test\ue-sources\UnrealEngine\Engine\Intermediate\Build\Linux\x86_64-unknown-linux-gnu\UnrealSync\Development\UnrealSync\Module.UnrealSync.cpp:3:
28>D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private\P4DataCache.cpp(59,35): error : declaration shadows a field of 'FP4Label' -Werror,-Wshadow]
28>  FP4Label::FP4Label(const FString& Name, const FDateTime& Date)
28>                                    ^
28>  D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private/P4DataCache.h(35,10) :  note: previous declaration is here
28>          FString Name;
28>                  ^
28>  In file included from D:\Test\ue-sources\UnrealEngine\Engine\Intermediate\Build\Linux\x86_64-unknown-linux-gnu\UnrealSync\Development\UnrealSync\Module.UnrealSync.cpp:3:
28>D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private\P4DataCache.cpp(59,58): error : declaration shadows a field of 'FP4Label' -Werror,-Wshadow]
28>  FP4Label::FP4Label(const FString& Name, const FDateTime& Date)
28>                                                           ^
28>  D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private/P4DataCache.h(38,12) :  note: previous declaration is here
28>          FDateTime Date;
28>                    ^
28>  In file included from D:\Test\ue-sources\UnrealEngine\Engine\Intermediate\Build\Linux\x86_64-unknown-linux-gnu\UnrealSync\Development\UnrealSync\Module.UnrealSync.cpp:3:
28>D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private\P4DataCache.cpp(75,56): error : declaration shadows a field of 'FP4DataLoader' -Werror,-Wshadow]
28>  FP4DataLoader::FP4DataLoader(const FOnLoadingFinished& OnLoadingFinished)
28>                                                         ^
28>  D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private/P4DataCache.h(122,21) :  note: previous declaration is here
28>          FOnLoadingFinished OnLoadingFinished;
28>                             ^
28>  In file included from D:\Test\ue-sources\UnrealEngine\Engine\Intermediate\Build\Linux\x86_64-unknown-linux-gnu\UnrealSync\Development\UnrealSync\Module.UnrealSync.cpp:3:
28>D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private\P4DataCache.cpp(88,26): error : declaration shadows a field of 'P4Progress' -Werror,-Wshadow]
28>                  P4Progress(const bool& bTerminate)
28>                                         ^
28>  D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private\P4DataCache.cpp(103,15) :  note: previous declaration is here
28>                  const bool &bTerminate;
28>                              ^
28>  In file included from D:\Test\ue-sources\UnrealEngine\Engine\Intermediate\Build\Linux\x86_64-unknown-linux-gnu\UnrealSync\Development\UnrealSync\Module.UnrealSync.cpp:4:
28>D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private\P4Env.cpp(293,48): error : declaration shadows a field of 'FP4EnvParamDetectionIteratorBase' -Werror,-Wshadow]
28>          FP4EnvParamDetectionIteratorBase(EP4ParamType Type, const TCHAR* CommandLine)
28>                                                        ^
28>  D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private\P4Env.cpp(392,15) :  note: previous declaration is here
28>          EP4ParamType Type;
28>                       ^
28>D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private\P4Env.cpp(376,38): error : declaration shadows a field of 'FP4EnvParamDetectionIteratorBase' -Werror,-Wshadow]
28>          void OverriddenSetting(EP4ParamType Type, const FString& Value, bool CommandLine)
28>                                              ^
28>  D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private\P4Env.cpp(392,15) :  note: previous declaration is here
28>          EP4ParamType Type;
28>                       ^
28>D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private\P4Env.cpp(413,5): warning : field 'Step' will be initialized after base 'FP4EnvParamDetectionIteratorBase' -Wreorder]
28>                  : Step(0), FP4EnvParamDetectionIteratorBase(EP4ParamType::Path, CommandLine)
28>                    ^
28>D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private\P4Env.cpp(594,5): warning : field 'Step' will be initialized after base 'FP4EnvParamDetectionIteratorBase' -Wreorder]
28>                  : Step(0), FP4EnvParamDetectionIteratorBase(EP4ParamType::Port, CommandLine)
28>                    ^
28>D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private\P4Env.cpp(645,67): error : declaration shadows a field of 'FP4UserDetectionIterator' -Werror,-Wshadow]
28>          FP4UserDetectionIterator(const TCHAR* CommandLine, const FP4Env& Env)
28>                                                                           ^
28>  D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private\P4Env.cpp(691,16) :  note: previous declaration is here
28>          const FP4Env& Env;
28>                        ^
28>D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\UnrealSync\Private\P4Env.cpp(646,5): warning : field 'Step' will be initialized after base 'FP4EnvParamDetectionIteratorBase' -Wreorder]
28>                  : Step(0), FP4EnvParamDetectionIteratorBase(EP4ParamType::User, CommandLine), Env(Env)
28>                    ^
28>EXEC : fatal error : too many errors emitted, stopping now -ferror-limit=]
28>  5 warnings and 20 errors generated.
28>  [7/28] Compile Slate.generated.cpp
28>  [8/28] Compile Module.StandaloneRenderer.cpp
28>  [9/28] Compile Module.SlateCore.cpp
28>  [10/28] Compile SlateCore.generated.cpp
28>  [11/28] Compile Module.Core.2_of_6.cpp
28>  [12/28] Compile Module.CoreUObject.1_of_4.cpp
28>  [13/28] Compile Module.CoreUObject.3_of_4.cpp
28>  [14/28] Compile Module.Core.3_of_6.cpp
28>  [15/28] Compile Module.CoreUObject.2_of_4.cpp
28>  [16/28] Compile Module.Core.1_of_6.cpp
28>  [17/28] Compile Module.CoreUObject.4_of_4.cpp
28>  [18/28] Compile Module.InputCore.cpp
28>  [19/28] Compile InputCore.generated.cpp
28>  [20/28] Compile Module.XmlParser.cpp
28>  [21/28] Compile Module.Core.4_of_6.cpp
28>  [22/28] Compile Module.ImageWrapper.cpp
28>  [23/28] Compile CoreUObject.generated.cpp
28>  [24/28] Compile Module.Projects.cpp
28>  [25/28] Compile Module.Core.6_of_6.cpp
28>  [26/28] Compile Module.Core.5_of_6.cpp
28>  [27/28] Compile Module.Json.cpp
28>  -------- End Detailed Actions Stats -----------------------------------------------------------
28>ERROR : UBT error : Failed to produce item: D:\Test\ue-sources\UnrealEngine\Engine\Binaries\Linux\UnrealSync
28>  Total build time: 99,67 seconds


30>  [1/2] Compile Module.BootstrapPackagedGame.cpp
30>  In file included from D:\Test\ue-sources\UnrealEngine\Engine\Intermediate\Build\Linux\x86_64-unknown-linux-gnu\BootstrapPackagedGame\Development\BootstrapPackagedGame\Module.BootstrapPackagedGame.cpp:2:
30>  In file included from D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\Windows\BootstrapPackagedGame\Private\BootstrapPackagedGame.cpp:3:
30>D:\Test\ue-sources\UnrealEngine\Engine\Source\Programs\Windows\BootstrapPackagedGame\Private/BootstrapPackagedGame.h(5,10): fatal error : 'windows.h' file not found
30>  #include <windows.h>
30>           ^
30>  1 error generated.
30>  -------- End Detailed Actions Stats -----------------------------------------------------------
30>ERROR : UBT error : Failed to produce item: D:\Test\ue-sources\UnrealEngine\Engine\Binaries\Linux\BootstrapPackagedGame


FYI, in Dev Editor everything build without any issue.

All the others modules are building fine.

Do anyone face this issue? Is this something to report to Epic?
We are on the 4.8.3 branch.

Thanks,