CodexLabsLLC / Colosseum

Open source simulator for autonomous robotics built on Unreal Engine with support for Unity
https://codexlabsllc.github.io/Colosseum/
Other
392 stars 122 forks source link

Blocks build failing at link on Ubuntu 20.04 #107

Closed nac294 closed 2 months ago

nac294 commented 2 months ago

Bug report

What's the issue you encountered?

When running the Blocks.uproject, we are prompted to recompile Blocks and AirSim. Compilation fails at the link stage when building. We are using the ue-5.3 branch of Colosseum we have run setup.sh and build.sh, both scripts have run without issue. The full Unreal build log can be seen at the bottom of this file. Screenshot from 2024-09-19 15-44-12 Also, please note that we were able to copy the libUnrealEditor-AirSim.so file from a different project into ours and the compilation/build completed without failure, and AirSim/Blocks ran without any issues.

Settings

N/A

How can the issue be reproduced?

  1. Clone the Colosseum repo.
  2. Checkout the ue-5.3 branch.
  3. Run setup.sh.
  4. Run build.sh.
  5. Copy the plugin files into the ~/Colosseum/Unreal/Environments/Blocks/ folder.
  6. Install and extract Unreal for Linux 5.3.2 from this link.
  7. Run Unreal and start Blocks using this command ~Engine/Binaries/Linux/UnrealEditor ~/Colosseum/Unreal/Environments/Blocks/Blocks.uproject
  8. Choose yes when prompted, with this message: Screenshot from 2024-09-19 15-58-59 Compilation fails at the stage shown above. See the output of Blocks.log below.

Include full error message in text form

Log file open, 09/19/24 15:58:44
LogInit: Display: Running engine for game: Blocks
LogCore: UnrealTraceServer: Trace store launch successful
LogTrace: Initializing trace...
LogCore: Display: Requested channels: 'cpu,gpu,frame,log,bookmark,screenshot,region'
LogTrace: Finished trace initialization.
LogCsvProfiler: Display: Metadata set : platform="Linux"
LogCsvProfiler: Display: Metadata set : config="Development"
LogCsvProfiler: Display: Metadata set : buildversion="++UE5+Release-5.3-CL-29314046"
LogCsvProfiler: Display: Metadata set : engineversion="5.3.2-29314046+++UE5+Release-5.3"
LogCsvProfiler: Display: Metadata set : os="Ubuntu 20.04.6 LTS 5.15.0-122-generic"
LogCsvProfiler: Display: Metadata set : cpu="AuthenticAMD|AMD Ryzen Threadripper 3960X 24-Core Processor"
LogCsvProfiler: Display: Metadata set : pgoenabled="0"
LogCsvProfiler: Display: Metadata set : pgoprofilingenabled="0"
LogCsvProfiler: Display: Metadata set : ltoenabled="0"
LogCsvProfiler: Display: Metadata set : asan="0"
LogCsvProfiler: Display: Metadata set : commandline="" /home/rfrl/repos/Colosseum/Unreal/Environments/Blocks/Blocks.uproject""
LogCsvProfiler: Display: Metadata set : loginid="382cb5d2435940a7a8f5420a401ad6a5-000003e8"
LogCsvProfiler: Display: Metadata set : llm="0"
LogStats: Stats thread started at 0.152112
LogICUInternationalization: ICU TimeZone Detection - Raw Offset: -6:00, Platform Override: ''
LogInit: Session CrashGUID >====================================================
         Session CrashGUID >   UECC-Linux-3C8DC271753C4BEEB642EA9F2534E662
         Session CrashGUID >====================================================
LogPluginManager: Mounting Engine plugin FastBuildController
LogPluginManager: Mounting Engine plugin XGEController
LogPluginManager: Mounting Engine plugin EnhancedInput
LogPluginManager: Found config from plugin[EnhancedInput] Input
LogPluginManager: Mounting Engine plugin TraceUtilities
LogPluginManager: Mounting Engine plugin MeshPainting
LogPluginManager: Mounting Engine plugin EnvironmentQueryEditor
LogPluginManager: Mounting Engine plugin GeometryCollectionPlugin
LogPluginManager: Mounting Engine plugin ProxyLODPlugin
LogPluginManager: Mounting Engine plugin ChaosEditor
LogPluginManager: Mounting Engine plugin ChaosUserDataPT
LogPluginManager: Mounting Engine plugin StructUtils
LogPluginManager: Mounting Engine plugin ChaosSolverPlugin
LogPluginManager: Mounting Engine plugin PlatformCrypto
LogPluginManager: Mounting Engine plugin Niagara
LogPluginManager: Mounting Engine plugin ChaosClothEditor
LogPluginManager: Mounting Engine plugin PlanarCut
LogPluginManager: Mounting Engine plugin AutomationUtils
LogPluginManager: Mounting Engine plugin ChaosCaching
LogPluginManager: Mounting Engine plugin ChaosVehiclesPlugin
LogPluginManager: Mounting Engine plugin PythonScriptPlugin
LogPluginManager: Mounting Engine plugin SkeletalReduction
LogPluginManager: Mounting Engine plugin AISupport
LogPluginManager: Mounting Engine plugin CharacterAI
LogPluginManager: Mounting Engine plugin Paper2D
LogPluginManager: Mounting Engine plugin OpenImageDenoise
LogPluginManager: Mounting Engine plugin LevelSequenceEditor
LogPluginManager: Mounting Engine plugin Dataflow
LogPluginManager: Mounting Engine plugin EngineAssetDefinitions
LogPluginManager: Mounting Engine plugin Fracture
LogPluginManager: Mounting Engine plugin ChaosCloth
LogPluginManager: Mounting Engine plugin CurveEditorTools
LogPluginManager: Mounting Engine plugin TemplateSequence
LogPluginManager: Mounting Engine plugin MacGraphicsSwitching
LogPluginManager: Mounting Engine plugin FacialAnimation
LogPluginManager: Mounting Engine plugin EditorDebugTools
LogPluginManager: Mounting Engine plugin MobileLauncherProfileWizard
LogPluginManager: Mounting Engine plugin PluginBrowser
LogPluginManager: Mounting Engine plugin GameplayTagsEditor
LogPluginManager: Mounting Engine plugin ToolPresets
LogConfig: Display: Loading IOS ini files took 0.39 seconds
LogPluginManager: Mounting Engine plugin DataValidation
LogPluginManager: Mounting Engine plugin SequencerAnimTools
LogPluginManager: Mounting Engine plugin BackChannel
LogPluginManager: Mounting Engine plugin WorldPartitionHLODUtilities
LogPluginManager: Mounting Engine plugin ChangelistReview
LogPluginManager: Mounting Engine plugin SpeedTreeImporter
LogPluginManager: Mounting Engine plugin FullBodyIK
LogPluginManager: Mounting Engine plugin CryptoKeys
LogPluginManager: Mounting Engine plugin AssetManagerEditor
LogPluginManager: Mounting Engine plugin LocalizableMessage
LogPluginManager: Mounting Engine plugin BlueprintHeaderView
LogPluginManager: Mounting Engine plugin UVEditor
LogPluginManager: Mounting Engine plugin AnimationModifierLibrary
LogPluginManager: Mounting Engine plugin ACLPlugin
LogConfig: Display: Loading Android ini files took 0.50 seconds
LogPluginManager: Mounting Engine plugin ControlRig
LogPluginManager: Mounting Engine plugin ControlRigSpline
LogPluginManager: Mounting Engine plugin GeometryMode
LogPluginManager: Mounting Engine plugin BlendSpaceMotionAnalysis
LogPluginManager: Mounting Engine plugin AnimationData
LogConfig: Display: Loading VulkanPC ini files took 0.52 seconds
LogPluginManager: Mounting Engine plugin InterchangeTests
LogPluginManager: Mounting Engine plugin ImgMedia
LogPluginManager: Mounting Engine plugin AvfMedia
LogPluginManager: Mounting Engine plugin WebMMedia
LogPluginManager: Mounting Engine plugin MediaPlate
LogPluginManager: Mounting Engine plugin AndroidMedia
LogPluginManager: Mounting Engine plugin MediaPlayerEditor
LogPluginManager: Mounting Engine plugin VariantManager
LogPluginManager: Mounting Engine plugin GLTFExporter
LogPluginManager: Mounting Engine plugin VariantManagerContent
LogPluginManager: Mounting Engine plugin DatasmithContent
LogPluginManager: Mounting Engine plugin GameplayCameras
LogConfig: Display: Loading Mac ini files took 0.58 seconds
LogPluginManager: Mounting Engine plugin CameraShakePreviewer
LogPluginManager: Mounting Engine plugin UdpMessaging
LogConfig: Display: Loading TVOS ini files took 0.60 seconds
LogPluginManager: Mounting Engine plugin TcpMessaging
LogPluginManager: Mounting Engine plugin OnlineSubsystemNull
LogPluginManager: Mounting Engine plugin MeshModelingToolsetExp
LogPluginManager: Mounting Engine plugin OnlineServices
LogPluginManager: Mounting Engine plugin SequencerScripting
LogPluginManager: Mounting Engine plugin LauncherChunkInstaller
LogPluginManager: Mounting Engine plugin InterchangeEditor
LogPluginManager: Mounting Engine plugin OnlineBase
LogPluginManager: Mounting Engine plugin Interchange
LogPluginManager: Mounting Engine plugin OnlineSubsystemUtils
LogPluginManager: Mounting Engine plugin Synthesis
LogPluginManager: Mounting Engine plugin MobilePatchingUtils
LogPluginManager: Mounting Engine plugin MaterialAnalyzer
LogPluginManager: Mounting Engine plugin WaveTable
LogPluginManager: Mounting Engine plugin WindowsMoviePlayer
LogPluginManager: Mounting Engine plugin MediaCompositing
LogPluginManager: Mounting Engine plugin LocationServicesBPLibrary
LogPluginManager: Mounting Engine plugin IKRig
LogPluginManager: Mounting Engine plugin ExampleDeviceProfileSelector
LogPluginManager: Mounting Engine plugin AssetTags
LogPluginManager: Mounting Engine plugin ActorSequence
LogPluginManager: Mounting Engine plugin OnlineSubsystem
LogPluginManager: Mounting Engine plugin ChaosNiagara
LogPluginManager: Mounting Engine plugin ArchVisCharacter
LogPluginManager: Mounting Engine plugin SignificanceManager
LogPluginManager: Mounting Engine plugin AudioSynesthesia
LogPluginManager: Mounting Engine plugin EditorScriptingUtilities
LogPluginManager: Mounting Engine plugin MsQuic
LogPluginManager: Mounting Engine plugin GoogleCloudMessaging
LogPluginManager: Mounting Engine plugin WebMMoviePlayer
LogPluginManager: Mounting Engine plugin Metasound
LogPluginManager: Mounting Engine plugin GeometryCache
LogPluginManager: Mounting Engine plugin IOSDeviceProfileSelector
LogPluginManager: Mounting Engine plugin AndroidFileServer
LogPluginManager: Mounting Engine plugin WmfMedia
LogPluginManager: Mounting Engine plugin OodleNetwork
LogPluginManager: Mounting Engine plugin AndroidPermission
LogPluginManager: Mounting Engine plugin MeshModelingToolset
LogPluginManager: Mounting Engine plugin AndroidMoviePlayer
LogPluginManager: Mounting Engine plugin PropertyAccessEditor
LogPluginManager: Mounting Engine plugin AppleMoviePlayer
LogPluginManager: Mounting Engine plugin GooglePAD
LogConfig: Display: Loading Windows ini files took 0.73 seconds
LogPluginManager: Mounting Engine plugin GeometryProcessing
LogPluginManager: Mounting Engine plugin AndroidDeviceProfileSelector
LogPluginManager: Mounting Engine plugin ProceduralMeshComponent
LogPluginManager: Mounting Engine plugin AudioCapture
LogPluginManager: Mounting Engine plugin RigVM
LogPluginManager: Mounting Engine plugin CustomMeshComponent
LogPluginManager: Mounting Engine plugin WindowsDeviceProfileSelector
LogPluginManager: Mounting Engine plugin AppleImageUtils
LogPluginManager: Mounting Engine plugin SoundFields
LogPluginManager: Mounting Engine plugin ChunkDownloader
LogPluginManager: Mounting Engine plugin ResonanceAudio
LogPluginManager: Mounting Engine plugin AudioWidgets
LogPluginManager: Mounting Engine plugin InputDebugging
LogPluginManager: Found config from plugin[InputDebugging] Input
LogPluginManager: Mounting Engine plugin LinuxDeviceProfileSelector
LogPluginManager: Mounting Engine plugin ActorLayerUtilities
LogPluginManager: Mounting Engine plugin N10XSourceCodeAccess
LogPluginManager: Mounting Engine plugin CableComponent
LogPluginManager: Mounting Engine plugin TraceDataFilters
LogPluginManager: Mounting Engine plugin VisualStudioCodeSourceCodeAccess
LogPluginManager: Mounting Engine plugin NullSourceCodeAccess
LogPluginManager: Mounting Engine plugin PluginUtils
LogConfig: Display: Loading Unix ini files took 0.79 seconds
LogPluginManager: Mounting Engine plugin RiderSourceCodeAccess
LogPluginManager: Mounting Engine plugin XCodeSourceCodeAccess
LogPluginManager: Mounting Engine plugin RenderDocPlugin
LogPluginManager: Mounting Engine plugin GitSourceControl
LogPluginManager: Mounting Engine plugin PlasticSourceControl
LogPluginManager: Mounting Engine plugin PixWinPlugin
LogPluginManager: Mounting Engine plugin CodeLiteSourceCodeAccess
LogPluginManager: Mounting Engine plugin PerforceSourceControl
LogPluginManager: Mounting Engine plugin CLionSourceCodeAccess
LogPluginManager: Mounting Engine plugin SubversionSourceControl
LogPluginManager: Mounting Engine plugin VisualStudioSourceCodeAccess
LogPluginManager: Mounting Engine plugin PropertyAccessNode
LogPluginManager: Mounting Engine plugin TextureFormatOodle
LogPluginManager: Mounting Engine plugin UObjectPlugin
LogPluginManager: Mounting Engine plugin AnimationSharing
LogPluginManager: Mounting Engine plugin AlembicImporter
LogPluginManager: Mounting Engine plugin KDevelopSourceCodeAccess
LogPluginManager: Mounting Engine plugin Takes
LogPluginManager: Mounting Engine plugin DumpGPUServices
LogPluginManager: Mounting Engine plugin ContentBrowserFileDataSource
LogPluginManager: Mounting Engine plugin ContentBrowserClassDataSource
LogPluginManager: Mounting Engine plugin PortableObjectFileDataSource
LogPluginManager: Mounting Engine plugin ContentBrowserAssetDataSource
LogPluginManager: Mounting Engine plugin OnlineSubsystemGooglePlay
LogPluginManager: Mounting Engine plugin OnlineSubsystemIOS
LogPluginManager: Mounting Engine plugin LightMixer
LogPluginManager: Mounting Engine plugin ObjectMixer
LogPluginManager: Mounting Project plugin AirSim
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/TraceUtilities/Content/' mounted to '/TraceUtilities/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Experimental/GeometryCollectionPlugin/Content/' mounted to '/GeometryCollectionPlugin/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Experimental/ChaosSolverPlugin/Content/' mounted to '/ChaosSolverPlugin/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/FX/Niagara/Content/' mounted to '/Niagara/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Experimental/ChaosClothEditor/Content/' mounted to '/ChaosClothEditor/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Experimental/ChaosCaching/Content/' mounted to '/ChaosCaching/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Experimental/ChaosVehiclesPlugin/Content/' mounted to '/ChaosVehiclesPlugin/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Experimental/PythonScriptPlugin/Content/' mounted to '/PythonScriptPlugin/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/2D/Paper2D/Content/' mounted to '/Paper2D/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Experimental/Dataflow/Content/' mounted to '/Dataflow/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Experimental/ToolPresets/Content/' mounted to '/ToolPresets/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Editor/SpeedTreeImporter/Content/' mounted to '/SpeedTreeImporter/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Experimental/FullBodyIK/Content/' mounted to '/FullBodyIK/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Editor/BlueprintHeaderView/Content/' mounted to '/BlueprintHeaderView/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Editor/UVEditor/Content/' mounted to '/UVEditor/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Animation/ACLPlugin/Content/' mounted to '/ACLPlugin/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Animation/ControlRig/Content/' mounted to '/ControlRig/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Animation/ControlRigSpline/Content/' mounted to '/ControlRigSpline/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Editor/GeometryMode/Content/' mounted to '/GeometryMode/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Media/MediaPlate/Content/' mounted to '/MediaPlate/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Enterprise/GLTFExporter/Content/' mounted to '/GLTFExporter/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Enterprise/DatasmithContent/Content/' mounted to '/DatasmithContent/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Experimental/MeshModelingToolsetExp/Content/' mounted to '/MeshModelingToolsetExp/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/MovieScene/SequencerScripting/Content/' mounted to '/SequencerScripting/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Interchange/Runtime/Content/' mounted to '/Interchange/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Runtime/Synthesis/Content/' mounted to '/Synthesis/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Runtime/WaveTable/Content/' mounted to '/WaveTable/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Media/MediaCompositing/Content/' mounted to '/MediaCompositing/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Animation/IKRig/Content/' mounted to '/IKRig/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Experimental/ChaosNiagara/Content/' mounted to '/ChaosNiagara/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Runtime/AudioSynesthesia/Content/' mounted to '/AudioSynesthesia/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Runtime/Metasound/Content/' mounted to '/Metasound/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Runtime/MeshModelingToolset/Content/' mounted to '/MeshModelingToolset/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Runtime/GeometryProcessing/Content/' mounted to '/GeometryProcessing/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Runtime/RigVM/Content/' mounted to '/RigVM/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Runtime/ResonanceAudio/Content/' mounted to '/ResonanceAudio/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Runtime/AudioWidgets/Content/' mounted to '/AudioWidgets/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Developer/AnimationSharing/Content/' mounted to '/AnimationSharing/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/VirtualProduction/Takes/Content/' mounted to '/Takes/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Editor/ObjectMixer/LightMixer/Content/' mounted to '/LightMixer/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Editor/ObjectMixer/ObjectMixer/Content/' mounted to '/ObjectMixer/'
LogPackageName: Display: FPackageName: Mount point added: '../../../../repos/Colosseum/Unreal/Environments/Blocks/Plugins/AirSim/Content/' mounted to '/AirSim/'
LogConfig: Display: Loading LinuxArm64 ini files took 0.87 seconds
LogConfig: Display: Loading Linux ini files took 0.87 seconds
SourceControl: Revision control is disabled
SourceControl: Revision control is disabled
SourceControl: Revision control is disabled
LogInit: Warning: Incompatible or missing module: Blocks
LogInit: Warning: Incompatible or missing module: AirSim
LogInit: Initializing SDL.
LogInit: Initialized SDL 2.24.0 revision:  (compiled against 2.24.0)
LogInit: Using SDL video driver 'x11'
LogInit: Display metrics:
LogInit:   PrimaryDisplayWidth: 1280
LogInit:   PrimaryDisplayHeight: 720
LogInit:   PrimaryDisplayWorkAreaRect:
LogInit:     Left=72, Top=27, Right=1280, Bottom=720
LogInit:   VirtualDisplayRect:
LogInit:     Left=72, Top=0, Right=5120, Bottom=720
LogInit:   TitleSafePaddingSize: X=0.000 Y=0.000 Z=0.000 W=0.000
LogInit:   ActionSafePaddingSize: X=0.000 Y=0.000 Z=0.000 W=0.000
LogInit:   Number of monitors: 4
LogInit:     Monitor 0
LogInit:       Name: VS-88HN 52"
LogInit:       ID: display0
LogInit:       NativeWidth: 1280
LogInit:       NativeHeight: 720
LogInit:       bIsPrimary: true
LogInit:     Monitor 1
LogInit:       Name: VS-88HN 52"
LogInit:       ID: display1
LogInit:       NativeWidth: 1280
LogInit:       NativeHeight: 720
LogInit:       bIsPrimary: false
LogInit:     Monitor 2
LogInit:       Name: VS-88HN 52"
LogInit:       ID: display2
LogInit:       NativeWidth: 1280
LogInit:       NativeHeight: 720
LogInit:       bIsPrimary: false
LogInit:     Monitor 3
LogInit:       Name: VS-88HN 52"
LogInit:       ID: display3
LogInit:       NativeWidth: 1280
LogInit:       NativeHeight: 720
LogInit:       bIsPrimary: false
Running /home/rfrl/UnrealEngine/Engine/Build/BatchFiles/Linux/Build.sh Development Linux -Project="/home/rfrl/repos/Colosseum/Unreal/Environments/Blocks/Blocks.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Setting up bundled DotNet SDK
Running command : dotnet Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.dll Development Linux -Project=/home/rfrl/repos/Colosseum/Unreal/Environments/Blocks/Blocks.uproject -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Log file: /home/rfrl/.config/Epic/UnrealBuildTool/Log.txt
@progress push 5%
@progress pop
Building BlocksEditor...
[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.Latest;' in BlocksEditor.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 (48 physical cores, 48 logical cores)
  Executing up to 48 processes, one per physical core
------ Building 3 action(s) started ------
[1/3] Link (lld) libUnrealEditor-AirSim.so
ld.lld: error: undefined symbol: common_utils::FileSystem::createDirectory(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)
>>> referenced by FileSystem.hpp:69 (/home/rfrl/repos/Colosseum/Unreal/Environments/Blocks/Plugins/AirSim/Source/AirLib/include/common/common_utils/FileSystem.hpp:69)
>>>               /home/rfrl/repos/Colosseum/Unreal/Environments/Blocks/Plugins/AirSim/Intermediate/Build/Linux/x64/UnrealEditor/Development/AirSim/Module.AirSim.cpp.o:(RecordingFile::startRecording(msr::airlib::VehicleSimApiBase*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&))
>>> referenced by FileSystem.hpp:63 (/home/rfrl/repos/Colosseum/Unreal/Environments/Blocks/Plugins/AirSim/Source/AirLib/include/common/common_utils/FileSystem.hpp:63)
>>>               /home/rfrl/repos/Colosseum/Unreal/Environments/Blocks/Plugins/AirSim/Intermediate/Build/Linux/x64/UnrealEditor/Development/AirSim/Module.AirSim.cpp.o:(common_utils::FileSystem::getLogFolderPath(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&))
>>> referenced by FileSystem.hpp:63 (/home/rfrl/repos/Colosseum/Unreal/Environments/Blocks/Plugins/AirSim/Source/AirLib/include/common/common_utils/FileSystem.hpp:63)
>>>               /home/rfrl/repos/Colosseum/Unreal/Environments/Blocks/Plugins/AirSim/Intermediate/Build/Linux/x64/UnrealEditor/Development/AirSim/Module.AirSim.cpp.o:(common_utils::FileSystem::getLogFileNamePath(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, bool))
>>> referenced 2 more times
ld.lld: error: undefined symbol: common_utils::FileSystem::getExecutableFolder()
>>> referenced by Settings.hpp:57 (/home/rfrl/repos/Colosseum/Unreal/Environments/Blocks/Plugins/AirSim/Source/AirLib/include/common/Settings.hpp:57)
>>>               /home/rfrl/repos/Colosseum/Unreal/Environments/Blocks/Plugins/AirSim/Intermediate/Build/Linux/x64/UnrealEditor/Development/AirSim/Module.AirSim.cpp.o:(ASimHUD::getSettingsText(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&))
ld.lld: error: undefined symbol: msr::airlib::CarRpcLibServer::CarRpcLibServer(msr::airlib::ApiProvider*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, unsigned short)
>>> referenced by SimModeCar.cpp:86 (/home/rfrl/repos/Colosseum/Unreal/Environments/Blocks/Plugins/AirSim/Source/Vehicles/Car/SimModeCar.cpp:86)
>>>               /home/rfrl/repos/Colosseum/Unreal/Environments/Blocks/Plugins/AirSim/Intermediate/Build/Linux/x64/UnrealEditor/Development/AirSim/Module.AirSim.cpp.o:(ASimModeCar::createApiServer() const)
ld.lld: error: undefined symbol: msr::airlib::RpcLibServerBase::RpcLibServerBase(msr::airlib::ApiProvider*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, unsigned short)
>>> referenced by SimModeComputerVision.cpp:24 (/home/rfrl/repos/Colosseum/Unreal/Environments/Blocks/Plugins/AirSim/Source/Vehicles/ComputerVision/SimModeComputerVision.cpp:24)
>>>               /home/rfrl/repos/Colosseum/Unreal/Environments/Blocks/Plugins/AirSim/Intermediate/Build/Linux/x64/UnrealEditor/Development/AirSim/Module.AirSim.cpp.o:(ASimModeComputerVision::createApiServer() const)
ld.lld: error: undefined symbol: msr::airlib::MultirotorRpcLibServer::MultirotorRpcLibServer(msr::airlib::ApiProvider*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, unsigned short)
>>> referenced by SimModeWorldMultiRotor.cpp:85 (/home/rfrl/repos/Colosseum/Unreal/Environments/Blocks/Plugins/AirSim/Source/Vehicles/Multirotor/SimModeWorldMultiRotor.cpp:85)
LogInit: Warning: Still incompatible or missing module: Blocks
LogInit: Warning: Still incompatible or missing module: AirSim
LogCore: Engine exit requested (reason: EngineExit() was called)
LogExit: Preparing to exit.
LogVirtualization: UE::Virtualization was shutdown
LogModuleManager: Shutting down and abandoning module DesktopPlatform (64)
LogModuleManager: Shutting down and abandoning module PerforceSourceControl (62)
LogModuleManager: Shutting down and abandoning module PlasticSourceControl (60)
LogModuleManager: Shutting down and abandoning module SourceControl (59)
LogModuleManager: Shutting down and abandoning module PythonScriptPluginPreload (56)
LogModuleManager: Shutting down and abandoning module PlatformCryptoOpenSSL (54)
LogModuleManager: Shutting down and abandoning module PlatformCryptoTypes (52)
LogModuleManager: Shutting down and abandoning module PlatformCrypto (50)
LogModuleManager: Shutting down and abandoning module FastBuildController (48)
LogModuleManager: Shutting down and abandoning module IoStoreOnDemand (46)
LogModuleManager: Shutting down and abandoning module AnimationModifiers (44)
LogModuleManager: Shutting down and abandoning module AudioEditor (42)
LogModuleManager: Shutting down and abandoning module PropertyEditor (41)
LogModuleManager: Shutting down and abandoning module Virtualization (38)
LogModuleManager: Shutting down and abandoning module MessageLog (37)
LogModuleManager: Shutting down and abandoning module TextureCompressor (34)
LogModuleManager: Shutting down and abandoning module OpenColorIOWrapper (33)
LogModuleManager: Shutting down and abandoning module RenderCore (30)
LogModuleManager: Shutting down and abandoning module Landscape (28)
LogModuleManager: Shutting down and abandoning module SlateRHIRenderer (26)
LogModuleManager: Shutting down and abandoning module OpenGLDrv (24)
LogModuleManager: Shutting down and abandoning module AnimGraphRuntime (22)
LogModuleManager: Shutting down and abandoning module Renderer (20)
LogModuleManager: Shutting down and abandoning module Engine (18)
LogModuleManager: Shutting down and abandoning module CoreUObject (16)
LogModuleManager: Shutting down and abandoning module SandboxFile (14)
LogModuleManager: Shutting down and abandoning module PakFile (12)
LogPakFile: Destroying PakPlatformFile
LogModuleManager: Shutting down and abandoning module RSA (11)
LogModuleManager: Shutting down and abandoning module NetworkFile (8)
LogModuleManager: Shutting down and abandoning module StreamingFile (6)
LogModuleManager: Shutting down and abandoning module CookOnTheFly (4)
LogModuleManager: Shutting down and abandoning module StorageServerClient (2)
LogExit: Exiting.
LogInit: Tearing down SDL.
Log file closed, 09/19/24 16:00:55

What's better than filing an issue? Filing a pull request :).

kestr31 commented 2 months ago

I am also experiencing this issue. Used Unreal Editor by the official container image ghcr.io/epicgames/unreal-engine:dev-5.3.2. It suggests undefined symbol: error when re-compiling airsim plugin on newer version.

image

It is sure that the error is caused by the AirSim plugin. Excluding it and dependencies related to it allows me to enter Blocks project without any problem.


[Edit: Solved]

image

Following the solution suggested on the issue 83 solved the problem. I was able to enter Blocks and package it for distribution.

nac294 commented 2 months ago

Thank you for pointing this out, @kestr31! This fixed the compilation issue.

Just to reiterate the solution for anyone else who may read this, to fix this problem you must alter the AirSim.Build.cs file in the Plugins folder before moving it into the Blocks folder. Following the solution provided by @Ravgni in the issue that @kestr31 mentioned, you have to change this: SetupCompileMode(CompileMode.CppCompileWithRpc, Target); into this: SetupCompileMode(CompileMode.HeaderOnlyWithRpc, Target);.