microsoft / AirSim

Open source simulator for autonomous vehicles built on Unreal Engine / Unity, from Microsoft AI & Research
https://microsoft.github.io/AirSim/
Other
16.31k stars 4.54k forks source link

Cannot compile Unreal Environment #4982

Open HarryK4673 opened 3 weeks ago

HarryK4673 commented 3 weeks ago

Question

What's your question?

I'm encountering an issue when setting up AirSim on WSL, and I'm unable to resolve it. I need assistance in understanding and fixing the problem. I have already built Unreal Engine and Airsim, but I cannot compile the Unreal Environment. I would like to use this simulator to finish my assignment of a class to simulate an autopilot model in university only and I am not able to fix these issues. :( The problem is:


Running /home/harryk/engine/UnrealEngine/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Linux -Project="/home/harryk/engine/AirSim/Unreal/Environments/Blocks/Blocks.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE

Running Mono...

Fixing inconsistent case in filenames.
Setting up Mono
~/engine/UnrealEngine/Engine ~/engine/UnrealEngine/Engine/Binaries/Linux
Using 'git status' to determine working set for adaptive non-unity build (/home/harryk/engine/UnrealEngine).
Creating makefile for BlocksEditor (no existing makefile)
WARNING: Library 'stdc++' was not resolvable to a file when used in Module 'AirSim', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning.
WARNING: Library 'supc++' was not resolvable to a file when used in Module 'AirSim', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning.
@progress push 5%
Creating makefile for UnrealHeaderTool (no existing makefile)
@progress push 5%
@progress pop
------- Build details --------
Using toolchain located at '/home/harryk/engine/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v19_clang-11.0.1-centos7/x86_64-unknown-linux-gnu'.
Using clang (/home/harryk/engine/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v19_clang-11.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++) version '11.0.1' (string), 11 (major), 0 (minor), 1 (patch)
Using bundled libc++ standard C++ library.
Using lld linker
Using llvm-ar : /home/harryk/engine/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v19_clang-11.0.1-centos7/x86_64-unknown-linux-gnu/bin/llvm-ar
Using fast way to relink  circularly dependent libraries (no FixDeps).
------------------------------
Parsing headers for BlocksEditor
  Running UnrealHeaderTool "/home/harryk/engine/AirSim/Unreal/Environments/Blocks/Blocks.uproject" "/home/harryk/engine/AirSim/Unreal/Environments/Blocks/Intermediate/Build/Linux/B4D820EA/BlocksEditor/Development/BlocksEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="/home/harryk/engine/UnrealEngine/Engine/Programs/UnrealBuildTool/Log_UHT.txt"
LogInit: Display: Loading text-based GConfig....
Reflection code generated for BlocksEditor in 2.740122 seconds
@progress pop
------- Build details --------
Using toolchain located at '/home/harryk/engine/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v19_clang-11.0.1-centos7/x86_64-unknown-linux-gnu'.
Using clang (/home/harryk/engine/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v19_clang-11.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++) version '11.0.1' (string), 11 (major), 0 (minor), 1 (patch)
Using bundled libc++ standard C++ library.
Using lld linker
Using llvm-ar : /home/harryk/engine/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v19_clang-11.0.1-centos7/x86_64-unknown-linux-gnu/bin/llvm-ar
Using fast way to relink  circularly dependent libraries (no FixDeps).
------------------------------
ERROR: Building would modify the following engine files:

       /home/harryk/engine/UnrealEngine/Engine/Binaries/Linux/Android/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Binaries/Linux/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/2D/Paper2D/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/AI/AISupport/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/AI/EnvironmentQueryEditor/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Animation/LiveLink/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Blendables/LightPropagationVolume/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Cameras/CameraShakePreviewer/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Cameras/GameplayCameras/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Compression/OodleData/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Compression/OodleNetwork/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Developer/AnimationSharing/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Developer/CLionSourceCodeAccess/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Developer/CodeLiteSourceCodeAccess/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Developer/GitSourceControl/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Developer/KDevelopSourceCodeAccess/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Developer/NullSourceCodeAccess/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Developer/PerforceSourceControl/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Developer/PlasticSourceControl/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Developer/PluginUtils/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Developer/PropertyAccessNode/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Developer/RiderSourceCodeAccess/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Developer/SubversionSourceControl/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Developer/TextureFormatOodle/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Developer/UObjectPlugin/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Developer/VisualStudioCodeSourceCodeAccess/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Editor/AssetManagerEditor/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Editor/ContentBrowser/ContentBrowserAssetDataSource/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Editor/ContentBrowser/ContentBrowserClassDataSource/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Editor/ContentBrowser/ContentBrowserFileDataSource/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Editor/CryptoKeys/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Editor/CurveEditorTools/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Editor/DataValidation/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Editor/FacialAnimation/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Editor/GameplayTagsEditor/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Editor/GeometryMode/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Editor/MaterialAnalyzer/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Editor/MobileLauncherProfileWizard/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Editor/PluginBrowser/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Editor/SpeedTreeImporter/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Enterprise/DatasmithContent/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Enterprise/VariantManagerContent/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Experimental/AlembicImporter/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Experimental/AutomationUtils/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Experimental/BackChannel/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Experimental/ChaosCloth/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Experimental/ChaosClothEditor/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Experimental/ChaosEditor/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Experimental/ChaosNiagara/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Experimental/ChaosSolverPlugin/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Experimental/CharacterAI/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Experimental/GeometryCache/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Experimental/GeometryCollectionPlugin/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Experimental/GeometryProcessing/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Experimental/MotoSynth/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Experimental/PlanarCutPlugin/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Experimental/PlatformCrypto/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Experimental/PythonScriptPlugin/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Experimental/SkeletalReduction/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/FX/Niagara/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Lumin/MagicLeapMedia/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Lumin/MagicLeapPassableWorld/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Media/AndroidMedia/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Media/AvfMedia/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Media/ImgMedia/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Media/MediaCompositing/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Media/MediaPlayerEditor/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Media/WebMMedia/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Media/WmfMedia/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/MeshPainting/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Messaging/TcpMessaging/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Messaging/UdpMessaging/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/MovieScene/ActorSequence/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/MovieScene/LevelSequenceEditor/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/MovieScene/MatineeToLevelSequence/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/MovieScene/TemplateSequence/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Online/OnlineSubsystem/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Online/OnlineSubsystemNull/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Online/OnlineSubsystemUtils/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Portal/LauncherChunkInstaller/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Runtime/ActorLayerUtilities/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Runtime/AndroidDeviceProfileSelector/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Runtime/AndroidPermission/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Runtime/AppleImageUtils/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Runtime/ArchVisCharacter/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Runtime/AssetTags/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Runtime/AudioCapture/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Runtime/AudioSynesthesia/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Runtime/CableComponent/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Runtime/ChunkDownloader/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Runtime/CustomMeshComponent/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Runtime/EditableMesh/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Runtime/ExampleDeviceProfileSelector/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Runtime/GooglePAD/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Runtime/LinuxDeviceProfileSelector/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Runtime/LocationServicesBPLibrary/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Runtime/MobilePatchingUtils/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Runtime/OpenXR/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Runtime/OpenXREyeTracker/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Runtime/OpenXRHandTracking/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Runtime/PhysXVehicles/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Runtime/ProceduralMeshComponent/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Runtime/PropertyAccess/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Runtime/RuntimePhysXCooking/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Runtime/SignificanceManager/Binaries/Linux/UE4Editor.modules
       /home/harryk/engine/UnrealEngine/Engine/Plugins/Runtime/SoundFields/Binaries/Linux/UE4Editor.modules

Include context on what you are trying to achieve

I'm trying to set up AirSim with a custom Unreal Environment. The issue occurs during the compilation process of the Unreal Environment.

Context details OS: Windows Subsystem for Linux (WSL), Ubuntu 22.04 AirSim version: 1.8.1 Python version: 3.12.4 Unreal version: 4.27 Settings.json file: I cannot find any Settings.json file under AirSim folder or UnrealEngine folder.

Include details of what you already did to find answers

I tried to search on GitHub and asked ChatGPT, but I cannot get any answer.

PythonOneTWOTHree0515 commented 1 day ago

Maybe you can find setting.json here >> ~/Docunments/Airsim