CesiumGS / cesium-unreal

Bringing the 3D geospatial ecosystem to Unreal Engine
https://cesium.com/platform/cesium-for-unreal/
Apache License 2.0
912 stars 290 forks source link

Unreal 5.2 Build Fail #1297

Closed antonmikhet closed 9 months ago

antonmikhet commented 9 months ago

I'm having trouble packaging a project for the Linux platform. Linux - Ubuntu v18.04 Unreal Engive version 5.2. I am using the version of Cesium for Unreal v2.0.0 downloaded from your github. With the previous version of the plugin v1.31 the build was running successfully. I'm getting these errors that don't find files and have these thoughts that there is an error in the build.cs file of the plugin.

Can you please help me to sort out the problem.

In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumFeatureIdSet.h:6:
/builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumFeatureIdTexture.h:6:10: fatal error: 'CesiumGltf/FeatureIdTextureView.h' file not found
#include "CesiumGltf/FeatureIdTextureView.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

Full logs:

Running AutomationTool...
Fixing inconsistent case in filenames.
Setting up Mono
Setting up bundled DotNet SDK
Start UAT Interactively: dotnet AutomationTool.dll BuildCookRun -utf8output -platform=Linux -clientconfig=Shipping -serverconfig=Shipping -project=/builds/digital_twin/meta_core/MetaMoscow.uproject -noP4 -nodebuginfo -allmaps -cook -iterate -build -stage -prereqs -pak -archive -archivedirectory=/builds/digital_twin/meta_core/Packaged
/home/ue4/UnrealEngine/Engine/Build/BatchFiles/Linux/../../../Binaries/ThirdParty/DotNet/6.0.302/linux/dotnet
Starting AutomationTool...
Parsing command line: BuildCookRun -utf8output -platform=Linux -clientconfig=Shipping -serverconfig=Shipping -project=/builds/digital_twin/meta_core/MetaMoscow.uproject -noP4 -nodebuginfo -allmaps -cook -iterate -build -stage -prereqs -pak -archive -archivedirectory=/builds/digital_twin/meta_core/Packaged
Initializing script modules...
Total script module initialization time: 0.24 s.
Executing commands...
Setting up ProjectParams for /builds/digital_twin/meta_core/MetaMoscow.uproject
********** BUILD COMMAND STARTED **********
Running: /home/ue4/UnrealEngine/Engine/Binaries/ThirdParty/DotNet/6.0.302/linux/dotnet "/home/ue4/UnrealEngine/Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.dll" MetaMoscowEditor Linux Development -Project=/builds/digital_twin/meta_core/MetaMoscow.uproject  /builds/digital_twin/meta_core/MetaMoscow.uproject -NoUBTMakefiles  -Manifest=/builds/digital_twin/meta_core/Intermediate/Build/Manifest.xml -NoHotReload -log="/home/ue4/Library/Logs/Unreal Engine/LocalBuildLogs/UBT-MetaMoscowEditor-Linux-Development.txt"
Log file: /home/ue4/Library/Logs/Unreal Engine/LocalBuildLogs/UBT-MetaMoscowEditor-Linux-Development.txt
Using 'git status' to determine working set for adaptive non-unity build (/builds/digital_twin/meta_core).
Parsing headers for MetaMoscowEditor
  Running Internal UnrealHeaderTool /builds/digital_twin/meta_core/MetaMoscow.uproject /builds/digital_twin/meta_core/Intermediate/Build/Linux/MetaMoscowEditor/Development/MetaMoscowEditor.uhtmanifest -WarningsAsErrors -installed
Total of 348 written
Reflection code generated for MetaMoscowEditor in 2.5103023 seconds
------- Build details --------
Using toolchain located at '/home/ue4/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu'.
Using clang (/home/ue4/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++) version 'clang version 15.0.1
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/ue4/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin' (string), 15 (major), 0 (minor), 1 (patch)
Using bundled libc++ standard C++ library.
Using lld linker
Using llvm-ar (/home/ue4/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/llvm-ar) version 'LLVM (http://llvm.org/):
  LLVM version 15.0.1
  Optimized build.
  Default target: x86_64-unknown-linux-gnu
  Host CPU: znver3 (string)'
Using fast way to relink  circularly dependent libraries (no FixDeps).
------------------------------
Writing manifest to /builds/digital_twin/meta_core/Intermediate/Build/Manifest.xml
Building MetaMoscowEditor...
[Upgrade]
[Upgrade] Using backward-compatible include order. The latest version of UE has changed the order of includes, which may require code changes. The current setting is:
[Upgrade]     IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_0
[Upgrade] Suppress this message by setting 'IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_2;' in MetaMoscowEditor.Target.cs.
[Upgrade] Alternatively you can set this to 'EngineIncludeOrderVersion.Latest' to always use the latest include order. This will potentially cause compile errors when integrating new versions of the engine.
[Upgrade]
Determining max actions to execute in parallel (30 physical cores, 30 logical cores)
  Executing up to 30 processes, one per physical core
Building 83 actions with 30 processes...
[1/83] Compile PCH.CesiumRuntime.h
[2/83] Compile PCH.CesiumEditor.h
[3/83] Compile Module.CesiumRuntime.11_of_11.cpp
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Intermediate/Build/Linux/x64/UnrealEditor/Development/CesiumRuntime/Module.CesiumRuntime.11_of_11.cpp:2:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Private/Tests/CesiumPropertyTableProperty.spec.cpp:1:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Private/Tests/CesiumGltfSpecUtility.h:3:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltf/ExtensionExtMeshFeatures.h:5:
/builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltf/FeatureId.h:5:10: fatal error: 'CesiumGltf/FeatureIdTexture.h' file not found
#include "CesiumGltf/FeatureIdTexture.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/83] Compile Module.CesiumRuntime.7_of_11.cpp
[5/83] Compile Module.CesiumRuntime.2_of_11.cpp
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Intermediate/Build/Linux/x64/UnrealEditor/Development/CesiumRuntime/Module.CesiumRuntime.2_of_11.cpp:8:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Intermediate/Build/Linux/UnrealEditor/Inc/CesiumRuntime/UHT/CesiumFeatureIdSet.gen.cpp:8:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Private/../../CesiumRuntime/Public/CesiumFeatureIdSet.h:6:
/builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumFeatureIdTexture.h:6:10: fatal error: 'CesiumGltf/FeatureIdTextureView.h' file not found
#include "CesiumGltf/FeatureIdTextureView.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[6/83] Compile Module.CesiumRuntime.5_of_11.cpp
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Intermediate/Build/Linux/x64/UnrealEditor/Development/CesiumRuntime/Module.CesiumRuntime.5_of_11.cpp:6:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Intermediate/Build/Linux/UnrealEditor/Inc/CesiumRuntime/UHT/CesiumPrimitiveFeatures.gen.cpp:8:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Private/../../CesiumRuntime/Public/CesiumPrimitiveFeatures.h:5:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumFeatureIdSet.h:6:
/builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumFeatureIdTexture.h:6:10: fatal error: 'CesiumGltf/FeatureIdTextureView.h' file not found
#include "CesiumGltf/FeatureIdTextureView.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[7/83] Compile Module.CesiumRuntime.4_of_11.cpp
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Intermediate/Build/Linux/x64/UnrealEditor/Development/CesiumRuntime/Module.CesiumRuntime.4_of_11.cpp:2:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Intermediate/Build/Linux/UnrealEditor/Inc/CesiumRuntime/UHT/CesiumGltfPrimitiveComponent.gen.cpp:8:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Private/../../CesiumRuntime/Private/CesiumGltfPrimitiveComponent.h:6:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/Cesium3DTileset.h:11:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumFeaturesMetadataComponent.h:5:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumFeatureIdSet.h:6:
/builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumFeatureIdTexture.h:6:10: fatal error: 'CesiumGltf/FeatureIdTextureView.h' file not found
#include "CesiumGltf/FeatureIdTextureView.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[8/83] Compile Module.CesiumRuntime.3_of_11.cpp
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Intermediate/Build/Linux/x64/UnrealEditor/Development/CesiumRuntime/Module.CesiumRuntime.3_of_11.cpp:5:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Intermediate/Build/Linux/UnrealEditor/Inc/CesiumRuntime/UHT/CesiumGltfComponent.gen.cpp:8:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Private/../../CesiumRuntime/Private/CesiumGltfComponent.h:6:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/Cesium3DTileset.h:11:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumFeaturesMetadataComponent.h:5:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumFeatureIdSet.h:6:
/builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumFeatureIdTexture.h:6:10: fatal error: 'CesiumGltf/FeatureIdTextureView.h' file not found
#include "CesiumGltf/FeatureIdTextureView.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[9/83] Compile Module.CesiumRuntime.1_of_11.cpp
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Intermediate/Build/Linux/x64/UnrealEditor/Development/CesiumRuntime/Module.CesiumRuntime.1_of_11.cpp:2:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Intermediate/Build/Linux/UnrealEditor/Inc/CesiumRuntime/UHT/Cesium3DTileset.gen.cpp:8:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Private/../../CesiumRuntime/Public/Cesium3DTileset.h:11:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumFeaturesMetadataComponent.h:5:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumFeatureIdSet.h:6:
/builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumFeatureIdTexture.h:6:10: fatal error: 'CesiumGltf/FeatureIdTextureView.h' file not found
#include "CesiumGltf/FeatureIdTextureView.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[10/83] Compile SharedPCH.UnrealEd.ShadowErrors.InclOrderUnreal5_0.h
[11/83] Compile Module.CesiumRuntime.10_of_11.cpp
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Intermediate/Build/Linux/x64/UnrealEditor/Development/CesiumRuntime/Module.CesiumRuntime.10_of_11.cpp:3:
/builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Private/CesiumTextureUtility.cpp:365:20: warning: 'RHICreateTexture2D' is deprecated: FRHITexture2D is deprecated, please use RHICreateTexture(const FRHITextureCreateDesc&). Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. [-Wdeprecated-declarations]
      rhiTexture = RHICreateTexture2D(
                   ^
/home/ue4/UnrealEngine/Engine/Source/Runtime/RHI/Public/RHICommandList.h:5638:1: note: 'RHICreateTexture2D' has been explicitly marked deprecated here
UE_DEPRECATED(5.1, "FRHITexture2D is deprecated, please use RHICreateTexture(const FRHITextureCreateDesc&).")
^
/home/ue4/UnrealEngine/Engine/Source/Runtime/Core/Public/Misc/CoreMiscDefines.h:[259](https://gitlab.theinvaders.pro/digital_twin/meta_core/-/jobs/42492#L259):43: note: expanded from macro 'UE_DEPRECATED'
#define UE_DEPRECATED(Version, Message) [[deprecated(Message " Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.")]]
                                          ^
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Intermediate/Build/Linux/x64/UnrealEditor/Development/CesiumRuntime/Module.CesiumRuntime.10_of_11.cpp:5:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Private/CesiumTileExcluder.cpp:2:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/Cesium3DTileset.h:11:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumFeaturesMetadataComponent.h:5:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumFeatureIdSet.h:6:
/builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumFeatureIdTexture.h:6:10: fatal error: 'CesiumGltf/FeatureIdTextureView.h' file not found
#include "CesiumGltf/FeatureIdTextureView.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
[12/83] Compile Module.CesiumRuntime.8_of_11.cpp
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Intermediate/Build/Linux/x64/UnrealEditor/Development/CesiumRuntime/Module.CesiumRuntime.8_of_11.cpp:2:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Intermediate/Build/Linux/UnrealEditor/Inc/CesiumRuntime/UHT/CustomCesium3DTileset.gen.cpp:8:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Private/../../CesiumRuntime/Public/CustomCesium3DTileset.h:6:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/Cesium3DTileset.h:11:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumFeaturesMetadataComponent.h:5:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumFeatureIdSet.h:6:
/builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumFeatureIdTexture.h:6:10: fatal error: 'CesiumGltf/FeatureIdTextureView.h' file not found
#include "CesiumGltf/FeatureIdTextureView.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[13/83] Compile Module.CesiumRuntime.9_of_11.cpp
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Intermediate/Build/Linux/x64/UnrealEditor/Development/CesiumRuntime/Module.CesiumRuntime.9_of_11.cpp:6:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Private/CesiumGltfComponent.cpp:3:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Private/CesiumGltfComponent.h:6:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/Cesium3DTileset.h:11:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumFeaturesMetadataComponent.h:5:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumFeatureIdSet.h:6:
/builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumFeatureIdTexture.h:6:10: fatal error: 'CesiumGltf/FeatureIdTextureView.h' file not found
#include "CesiumGltf/FeatureIdTextureView.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[14/83] Compile Module.CesiumEditor.cpp
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Intermediate/Build/Linux/x64/UnrealEditor/Development/CesiumEditor/Module.CesiumEditor.cpp:8:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumEditor/Private/CesiumEditor.cpp:5:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/Cesium3DTileset.h:11:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumFeaturesMetadataComponent.h:5:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumFeatureIdSet.h:6:
/builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumFeatureIdTexture.h:6:10: fatal error: 'CesiumGltf/FeatureIdTextureView.h' file not found
#include "CesiumGltf/FeatureIdTextureView.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[15/83] Compile glTFRuntime.init.gen.cpp
[16/83] Compile glTFAnimCurveCompressionCodec.cpp
[17/83] Compile glTFRuntime.cpp
[18/83] Compile glTFAnimBoneCompressionCodec.cpp
[19/83] Compile glTFAnimBoneCompressionCodec.gen.cpp
[20/83] Compile glTFRuntimeSoundWave.cpp
[21/83] Compile glTFRuntimeAnimationCurve.gen.cpp
[22/83] Compile glTFAnimCurveCompressionCodec.gen.cpp
[23/83] Compile glTFRuntimeAnimationCurve.cpp
[24/83] Compile glTFRuntimeSoundWave.gen.cpp
[25/83] Compile glTFRuntimeParserCustom.cpp
[26/83] Compile SharedPCH.Engine.ShadowErrors.InclOrderUnreal5_0.h
[27/83] Compile glTFRuntimeEditor.init.gen.cpp
[28/83] Compile glTFRuntimeLight.cpp
[29/83] Compile glTFRuntimeParserAudio.cpp
[30/83] Compile SkeletonExporterGLTF.gen.cpp
[31/83] Compile glTFRuntimeFunctionLibrary.gen.cpp
[32/83] Compile SkeletalMeshExporterGLTF.gen.cpp
[33/83] Compile glTFRuntimeAssetActorAsync.gen.cpp
[34/83] Compile glTFRuntimeAssetActor.gen.cpp
[35/83] Compile glTFRuntimeFunctionLibrary.cpp
[36/83] Compile glTFRuntimeEditorDelegates.cpp
[37/83] Compile SkeletalMeshExporterGLTF.cpp
[38/83] Compile glTFRuntimeEditorDelegates.gen.cpp
[39/83] Compile glTFRuntimeAssetActorAsync.cpp
[40/83] Compile SkeletonExporterGLTF.cpp
[41/83] Compile glTFRuntimeAsset.gen.cpp
[42/83] Compile glTFRuntimeAsset.cpp
[43/83] Compile glTFRuntimeParserMaterials.cpp
[44/83] Compile glTFRuntimeEditor.cpp
[45/83] Compile glTFRuntimeAssetActor.cpp
[46/83] Compile glTFRuntimeParser.gen.cpp
[47/83] Compile Module.SplineSweepMesh.cpp
[48/83] Compile Module.PositioningTools.cpp
[49/83] Compile Module.PhotoTools.cpp
[50/83] Link (lld) libUnrealEditor-PhotoTools.so
[51/83] Link (lld) libUnrealEditor-PositioningTools.so
[52/83] Link (lld) libUnrealEditor-SplineSweepMesh.so
[53/83] Compile Module.WebCommunication.1_of_2.cpp
[54/83] Compile Module.MetaMoscowFeatures.cpp
[55/83] Compile Module.MetaMoscow.5_of_6.cpp
[56/83] Compile Module.MetaMoscow.3_of_6.cpp
[57/83] Compile Module.MetaMoscow.4_of_6.cpp
[58/83] Compile glTFRuntimeParserStaticMeshes.cpp
[59/83] Compile Module.MetaMoscow.1_of_6.cpp
[60/83] Compile Module.WebCommunication.2_of_2.cpp
[61/83] Link (lld) libUnrealEditor-WebCommunication.so
[62/83] Compile Module.MetaMoscow.2_of_6.cpp
[63/83] Compile Module.MetaMoscow.6_of_6.cpp
In file included from /builds/digital_twin/meta_core/Intermediate/Build/Linux/x64/UnrealEditor/Development/MetaMoscow/Module.MetaMoscow.6_of_6.cpp:5:
In file included from /builds/digital_twin/meta_core/Source/MetaMoscow/Private/Core/Buildings/BuildingCore.cpp:5:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CustomCesium3DTileset.h:6:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/Cesium3DTileset.h:11:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumFeaturesMetadataComponent.h:5:
In file included from /builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumFeatureIdSet.h:6:
/builds/digital_twin/meta_core/Plugins/CesiumForUnreal/Source/CesiumRuntime/Public/CesiumFeatureIdTexture.h:6:10: fatal error: 'CesiumGltf/FeatureIdTextureView.h' file not found
#include "CesiumGltf/FeatureIdTextureView.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[64/83] Compile Module.Bridge.cpp
[65/83] Compile glTFRuntimeParser.cpp
[66/83] Compile glTFRuntimeParserSkeletalMeshes.cpp
[67/83] Link (lld) libUnrealEditor-glTFRuntime.so
[68/83] Link (lld) libUnrealEditor-glTFRuntimeEditor.so
[69/83] Compile Module.AlembicImporter.cpp
[70/83] Compile Module.AlembicHairTranslatorModule.cpp
[71/83] Link (lld) libUnrealEditor-AlembicHairTranslatorModule.so
[72/83] Compile Module.AlembicLibrary.cpp
In file included from /builds/digital_twin/meta_core/Plugins/AlembicImporter/Intermediate/Build/Linux/x64/UnrealEditor/Development/AlembicLibrary/Module.AlembicLibrary.cpp:5:
/builds/digital_twin/meta_core/Plugins/AlembicImporter/Source/AlembicLibrary/Private/AbcImporter.cpp:658:14: warning: 'SetPlayLength' is deprecated: SetPlayLength with length in seconds in deprecated use SetNumberOfFrames using FFrameNumber instead Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. [-Wdeprecated-declarations]
                Controller.SetPlayLength(AbcFile->GetImportLength());
                           ^
/home/ue4/UnrealEngine/Engine/Source/Runtime/Engine/Classes/Animation/AnimData/IAnimationDataController.h:133:2: note: 'SetPlayLength' has been explicitly marked deprecated here
        UE_DEPRECATED(5.1, "SetPlayLength with length in seconds in deprecated use SetNumberOfFrames using FFrameNumber instead")
        ^
/home/ue4/UnrealEngine/Engine/Source/Runtime/Core/Public/Misc/CoreMiscDefines.h:259:43: note: expanded from macro 'UE_DEPRECATED'
#define UE_DEPRECATED(Version, Message) [[deprecated(Message " Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.")]]
                                          ^
In file included from /builds/digital_twin/meta_core/Plugins/AlembicImporter/Intermediate/Build/Linux/x64/UnrealEditor/Development/AlembicLibrary/Module.AlembicLibrary.cpp:5:
/builds/digital_twin/meta_core/Plugins/AlembicImporter/Source/AlembicLibrary/Private/AbcImporter.cpp:760:16: warning: 'AddBoneTrack' is deprecated: AddBoneTrack returning index is deprecated use AddBoneCurve returning bool instead. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. [-Wdeprecated-declarations]
                                Controller.AddBoneTrack(BonesInfo[0].Name);
                                           ^
/home/ue4/UnrealEngine/Engine/Source/Runtime/Engine/Classes/Animation/AnimData/IAnimationDataController.h:190:2: note: 'AddBoneTrack' has been explicitly marked deprecated here
        UE_DEPRECATED(5.2, "AddBoneTrack returning index is deprecated use AddBoneCurve returning bool instead.")
        ^
/home/ue4/UnrealEngine/Engine/Source/Runtime/Core/Public/Misc/CoreMiscDefines.h:259:43: note: expanded from macro 'UE_DEPRECATED'
#define UE_DEPRECATED(Version, Message) [[deprecated(Message " Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.")]]
                                          ^
2 warnings generated.
[73/83] Link (lld) libUnrealEditor-AlembicLibrary.so
[74/83] Link (lld) libUnrealEditor-AlembicImporter.so
[75/83] Compile Module.MegascansPlugin.cpp
[76/83] Compile Module.CesiumRuntime.6_of_11.cpp
[77/83] Link (lld) libUnrealEditor-CesiumRuntime.so cancelled
[78/83] Link (lld) libUnrealEditor-MetaMoscow.so cancelled
[79/83] Link (lld) libUnrealEditor-CesiumEditor.so cancelled
[80/83] Link (lld) libUnrealEditor-MetaMoscowFeatures.so cancelled
[81/83] Link (lld) libUnrealEditor-MegascansPlugin.so
[82/83] Link (lld) libUnrealEditor-Bridge.so
[83/83] WriteMetadata MetaMoscowEditor.target cancelled
Took 63.064[267](https://gitlab.theinvaders.pro/digital_twin/meta_core/-/jobs/42492#L267)5s to run dotnet, ExitCode=6
UnrealBuildTool failed. See log for more details. (/home/ue4/Library/Logs/Unreal Engine/LocalBuildLogs/UBT-MetaMoscowEditor-Linux-Development.txt)
AutomationTool executed for 0h 1m 5s
AutomationTool exiting with ExitCode=6 (6)
RunUAT ERROR: AutomationTool was unable to run successfully. Exited with code: 6
E1116 11:58:10.5[335](https://gitlab.theinvaders.pro/digital_twin/meta_core/-/jobs/42492#L335)42    1167 aws_credentials.go:77] while getting AWS credentials NoCredentialProviders: no valid providers in chain. Deprecated.
    For verbose messaging see aws.Config.CredentialsChainVerboseErrors
INFO[0007] Using dockerignore file: /builds/digital_twin/meta_core/.dockerignore 
INFO[0007] Retrieving image manifest adamrehn/ue4-runtime:20.04-cudagl11.4.2-virtualgl 
INFO[0007] Retrieving image adamrehn/ue4-runtime:20.04-cudagl11.4.2-virtualgl from registry index.docker.io 
INFO[0007] Retrieving image manifest adamrehn/ue4-runtime:20.04-cudagl11.4.2-virtualgl 
INFO[0007] Returning cached image manifest              
INFO[0007] Built cross stage deps: map[]                
INFO[0007] Retrieving image manifest adamrehn/ue4-runtime:20.04-cudagl11.4.2-virtualgl 
INFO[0007] Returning cached image manifest              
INFO[0007] Retrieving image manifest adamrehn/ue4-runtime:20.04-cudagl11.4.2-virtualgl 
INFO[0007] Returning cached image manifest              
INFO[0007] Executing 0 build triggers                   
error building image: error building stage: failed to optimize instructions: failed to get files used from context: failed to get fileinfo for /builds/digital_twin/meta_core/Packaged/Linux: lstat /builds/digital_twin/meta_core/Packaged/Linux: no such file or directory
kring commented 9 months ago

When you pull an update from GitHub, you need to follow the steps in the developer setup guide again. In particular, it looks like you either didn't update the cesium-native submodule, or you didn't build and install it afterward.

If you still have trouble, please post to the community forum. We use GitHub for confirmed bugs and clear feature requests.

antonmikhet commented 9 months ago

When you pull an update from GitHub, you need to follow the steps in the developer setup guide again. In particular, it looks like you either didn't update the cesium-native submodule, or you didn't build and install it afterward.

If you still have trouble, please post to the community forum. We use GitHub for confirmed bugs and clear feature requests.

I completely removed CesiumPlugin from the Game/Plugins directory And inserted the new version of Cesium I have a project completely successfully built from Windows for Windows, from Windows for Linux. But Linux - Linux returns an error

Where can I find this link for developers?

csciguy8 commented 9 months ago

Where can I find this link for developers?

https://github.com/CesiumGS/cesium-unreal/blob/ue5-main/Documentation/developer-setup-linux.md#cloning-the-git-repos

You may have forgotten this step...

git submodule update --init --recursive

antonmikhet commented 9 months ago

Where can I find this link for developers?

https://github.com/CesiumGS/cesium-unreal/blob/ue5-main/Documentation/developer-setup-linux.md#cloning-the-git-repos

You may have forgotten this step...

git submodule update --init --recursive

I downloaded the current version of Cesium from the Release section. I completely deleted the old version and inserted the updated one.

I don't think that's the problem. I will try to make a build in an empty project on my runner, but I think the error will be the same

All files specified in the errors are present in the project, but the compiler fails.

kring commented 9 months ago

There appears to be a problem with the case (lowercase, uppercase) of some of our plugin's files as installed from the Epic Launcher. We've reached out to Epic to fix this, but in the meantime:

  1. Uninstall the plugin using the Epic Launcher.
  2. Delete the directory (C:\Program Files\Epic Games\UE_5.2\Engine\Plugins\Marketplace\CesiumForUnreal)
  3. Extract the release ZIP (not the source code ZIP!) to C:\Program Files\Epic Games\UE_5.2\Engine\Plugins\Marketplace.

That should fix the case problem, which should all the plugin to build.