Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebuilding Unreal Engine keeps failing #1156

Open
130s opened this issue Jan 31, 2025 · 1 comment
Open

Rebuilding Unreal Engine keeps failing #1156

130s opened this issue Jan 31, 2025 · 1 comment

Comments

@130s
Copy link
Collaborator

130s commented Jan 31, 2025

So far I've been a few different occasions where I have decided to rebuild Unreal Engine locally. It is kind of a recurring issue to me, and I have a feeling there are tips that one needs to know, to keep rebuilding.

@130s
Copy link
Collaborator Author

130s commented Jan 31, 2025

One of the cases where I choose to rebuilt UE is #1154 (comment) (where I didn't see an access to FAB on prebuilt UE5.5.1 so went with local-built), then I started seeing UE failing to open a uproject (that was late at night...I forgot what the error was. Maybe the issue in this thread #1143 (comment)), so rebuilding, then hitting compile errors that didn't happen when it was being built for the first time.

Log
$ ./Setup.sh 
$ ./GenerateProjectFiles.sh 
$ make

:

Total execution time: 13.03 seconds
"/media/n130s/Evo840SSD/pg/unreal-engine/UnrealEngine/Engine/Build/BatchFiles/RunUBT.sh" UnrealEditor Linux Development       
Setting up bundled DotNet SDK      
Building UBT...       
find: ‘../Restricted/**/Source/Programs/Shared’: No such file or directory
find: ‘../Platforms/*/Source/Programs/Shared’: No such file or directory  
find: ‘../Restricted/**/Source/Programs/UnrealBuildTool’: No such file or directory    
UnrealBuildTool.dll is up to date    
Log file: /media/n130s/Evo840SSD/pg/unreal-engine/UnrealEngine/Engine/Programs/UnrealBuildTool/Log.txt   
Using 'git status' to determine working set for adaptive non-unity build (/media/n130s/Evo840SSD/pg/unreal-engine/UnrealEngine).         
Waiting for 'git status' command to complete    
Building UnrealEditor...           
Determining max actions to execute in parallel (12 physical cores, 16 logical cores)   
  Executing up to 12 processes, one per physical core          
Using Unreal Build Accelerator local executor to run 1322 action(s)
  Storage capacity 40Gb            
---- Starting trace ----
UbaSessionServer - Disable remote execution (remote sessions will finish current processes)           
------ Building 1322 action(s) started ------   
[1/1322] Compile Module.Engine.27.cpp           
In file included from /media/n130s/Evo840SSD/pg/unreal-engine/UnrealEngine/Engine/Intermediate/Build/Linux/x64/UnrealEditor/Development/Engine/Module.Engine.27.cpp:20:
/media/n130s/Evo840SSD/pg/unreal-engine/UnrealEngine/Engine/Source/Runtime/Engine/Private/Animation/AnimEncoding_ConstantKeyLerp.cpp:11:15: error: invalid application of 'sizeof' to an incomplete type 'is
pc::FTransform'
   11 | static_assert(sizeof(ispc::FTransform) == sizeof(FTransform), "sizeof(ispc::FTransform) != sizeof(FTransform)");
      |  ^     ~~~~~~~~~~~~~~~~~~
/media/n130s/Evo840SSD/pg/unreal-engine/UnrealEngine/Engine/Source/Runtime/Core/Public/Math/MathFwd.h:43:9: note: forward declaration of 'ispc::FTransform'
   43 |         struct FTransform;
      |   ^
In file included from /media/n130s/Evo840SSD/pg/unreal-engine/UnrealEngine/Engine/Intermediate/Build/Linux/x64/UnrealEditor/Development/Engine/Module.Engine.27.cpp:20:
/media/n130s/Evo840SSD/pg/unreal-engine/UnrealEngine/Engine/Source/Runtime/Engine/Private/Animation/AnimEncoding_ConstantKeyLerp.cpp:12:28: error: no member named 'BoneTrackPair' in namespace 'ispc'
   12 | static_assert(sizeof(ispc::BoneTrackPair) == sizeof(BoneTrackPair), "sizeof(ispc::BoneTrackPair) != sizeof(BoneTrackPair)");
      |         ~~~~~~^
/media/n130s/Evo840SSD/pg/unreal-engine/UnrealEngine/Engine/Source/Runtime/Engine/Private/Animation/AnimEncoding_ConstantKeyLerp.cpp:284:25: error: expected expression
  284 |            (ispc::BoneTrackPair*)&DesiredPairs[0],
      |       ^
/media/n130s/Evo840SSD/pg/unreal-engine/UnrealEngine/Engine/Source/Runtime/Engine/Private/Animation/AnimEncoding_ConstantKeyLerp.cpp:284:11: error: no member named 'BoneTrackPair' in namespace 'ispc'
  284 |            (ispc::BoneTrackPair*)&DesiredPairs[0],
      |~~~~~~^
/media/n130s/Evo840SSD/pg/unreal-engine/UnrealEngine/Engine/Source/Runtime/Engine/Private/Animation/AnimEncoding_ConstantKeyLerp.cpp:282:9: error: no member named 'GetConstantKeyLerpPoseRotations' in name
space 'ispc'
  282 |    ispc::GetConstantKeyLerpPoseRotations(
      |    ~~~~~~^
/media/n130s/Evo840SSD/pg/unreal-engine/UnrealEngine/Engine/Source/Runtime/Engine/Private/Animation/AnimEncoding_ConstantKeyLerp.cpp:336:25: error: expected expression
  336 |            (ispc::BoneTrackPair*)&DesiredPairs[0],
      |       ^
/media/n130s/Evo840SSD/pg/unreal-engine/UnrealEngine/Engine/Source/Runtime/Engine/Private/Animation/AnimEncoding_ConstantKeyLerp.cpp:336:11: error: no member named 'BoneTrackPair' in namespace 'ispc'
  336 |            (ispc::BoneTrackPair*)&DesiredPairs[0],
      |~~~~~~^
/media/n130s/Evo840SSD/pg/unreal-engine/UnrealEngine/Engine/Source/Runtime/Engine/Private/Animation/AnimEncoding_ConstantKeyLerp.cpp:334:9: error: no member named 'GetConstantKeyLerpPoseTranslations' in n
amespace 'ispc'
  334 |    ispc::GetConstantKeyLerpPoseTranslations(

:

/media/n130s/Evo840SSD/pg/unreal-engine/UnrealEngine/Engine/Source/Runtime/Engine/Private/Animation/AnimationRuntime.cpp:133:24: error: use of undeclared identifier 'RequiredBones'
  133 |         check( Atoms.Num() == RequiredBones.GetNumBones() );
      |     ^
/media/n130s/Evo840SSD/pg/unreal-engine/UnrealEngine/Engine/Source/Runtime/Engine/Private/Animation/AnimationRuntime.cpp:134:32: error: redefinition of 'RequiredBoneIndices'
  134 |         const TArray<FBoneIndexType>& RequiredBoneIndices = RequiredBones.GetBoneIndicesArray();
      |^
/media/n130s/Evo840SSD/pg/unreal-engine/UnrealEngine/Engine/Source/Runtime/Engine/Private/Animation/AnimationRuntime.cpp:115:32: note: previous definition is here
  115 |         const TArray<FBoneIndexType>& RequiredBoneIndices = RequiredBones.GetBoneIndicesArray();
      |^
/media/n130s/Evo840SSD/pg/unreal-engine/UnrealEngine/Engine/Source/Runtime/Engine/Private/Animation/AnimationRuntime.cpp:134:54: error: use of undeclared identifier 'RequiredBones'
  134 |         const TArray<FBoneIndexType>& RequiredBoneIndices = RequiredBones.GetBoneIndicesArray();
      |         ^
/media/n130s/Evo840SSD/pg/unreal-engine/UnrealEngine/Engine/Source/Runtime/Engine/Private/Animation/AnimationRuntime.cpp:135:13: error: redefinition of 'j'
  135 |         for (int32 j = 0; j < RequiredBoneIndices.Num(); ++j)
      |       ^
/media/n130s/Evo840SSD/pg/unreal-engine/UnrealEngine/Engine/Source/Runtime/Engine/Private/Animation/AnimationRuntime.cpp:116:13: note: previous definition is here
  116 |         for (int32 j = 0; j < RequiredBoneIndices.Num(); ++j)
      |       ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[3/1322] Compile Module.Engine.29.cpp
In file included from /media/n130s/Evo840SSD/pg/unreal-engine/UnrealEngine/Engine/Intermediate/Build/Linux/x64/UnrealEditor/Development/Engine/Module.Engine.29.cpp:30:
/media/n130s/Evo840SSD/pg/unreal-engine/UnrealEngine/Engine/Source/Runtime/Engine/Private/Animation/BonePose.cpp:12:15: error: invalid application of 'sizeof' to an incomplete type 'ispc::FTransform'
   12 | static_assert(sizeof(ispc::FTransform) == sizeof(FTransform), "sizeof(ispc::FTransform) != sizeof(FTransform)");
      |  ^     ~~~~~~~~~~~~~~~~~~
/media/n130s/Evo840SSD/pg/unreal-engine/UnrealEngine/Engine/Source/Runtime/Core/Public/Math/MathFwd.h:43:9: note: forward declaration of 'ispc::FTransform'
   43 |         struct FTransform;
      |   ^
In file included from /media/n130s/Evo840SSD/pg/unreal-engine/UnrealEngine/Engine/Intermediate/Build/Linux/x64/UnrealEditor/Development/Engine/Module.Engine.29.cpp:30:
/media/n130s/Evo840SSD/pg/unreal-engine/UnrealEngine/Engine/Source/Runtime/Engine/Private/Animation/BonePose.cpp:38:10: error: no member named 'NormalizeRotations' in namespace 'ispc'
   38 |            ispc::NormalizeRotations(
      |            ~~~~~~^
/media/n130s/Evo840SSD/pg/unreal-engine/UnrealEngine/Engine/Source/Runtime/Engine/Private/Animation/BonePose.cpp:64:10: error: no member named 'ResetToAdditiveIdentity' in namespace 'ispc'
   64 |            ispc::ResetToAdditiveIdentity(
      |            ~~~~~~^
/media/n130s/Evo840SSD/pg/unreal-engine/UnrealEngine/Engine/Source/Runtime/Engine/Private/Animation/BonePose.cpp:90:10: error: no member named 'NormalizeRotations' in namespace 'ispc'
   90 |            ispc::NormalizeRotations(
      |            ~~~~~~^
/media/n130s/Evo840SSD/pg/unreal-engine/UnrealEngine/Engine/Source/Runtime/Engine/Private/Animation/BonePose.cpp:116:10: error: no member named 'ResetToAdditiveIdentity' in namespace 'ispc'
  116 |            ispc::ResetToAdditiveIdentity(
      |            ~~~~~~^
5 errors generated.
Trace file written to /media/n130s/Evo840SSD/pg/unreal-engine/UnrealEngine/Engine/Programs/UnrealBuildTool/Log.uba with size 22.6kb
Total time in Unreal Build Accelerator local executor: 10.29 seconds
Total execution time: 24.14 seconds
make: *** [Makefile:8190: UnrealEditor-Linux-Development] Error 6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant