AirSim icon indicating copy to clipboard operation
AirSim copied to clipboard

ERROR occurred when opening Blocks.uproject

Open deadseason opened this issue 2 years ago • 13 comments

Bug report

  • AirSim Version/#commit: 1.6.0 linux
  • UE/Unity version: 4.27.2
  • autopilot version:
  • OS Version: Ubuntu Ubuntu 20.04.4 LTS

What's the issue you encountered?

For the first time I install the UE4.27 and airsim 1.6, after being installed, I open the example project ' Blocks.uproject ' with UE, but it does not work.Error occurred and it said compile failed. Is it the problem of Chinese directory path?

无法编译该项目。要在空源代码访问中打开它吗?

Running /home/gpu/存储1/UE4/UE4-27/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Linux -Project="/home/gpu/存储1/UE4/AIRSIM/AirSim-1.6.0-linux/Unreal/Environments/Blocks 4.27 - 2/Blocks.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE

Running Mono...

Fixing inconsistent case in filenames.
Setting up Mono
~/??????1/UE4/UE4-27/Engine ~/??????1/UE4/UE4-27/Engine/Binaries/Linux
Using 'git status' to determine working set for adaptive non-unity build (/home/gpu/??????1/UE4/UE4-27).
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 '~/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v19_clang-11.0.1-centos7/x86_64-unknown-linux-gnu'.
Using clang (/home/gpu/??????1/UE4/UE4-27/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 : ~/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/gpu/??????1/UE4/AIRSIM/AirSim-1.6.0-linux/Unreal/Environments/Blocks 4.27 - 2/Blocks.uproject" "/home/gpu/??????1/UE4/AIRSIM/AirSim-1.6.0-linux/Unreal/Environments/Blocks 4.27 - 2/Intermediate/Build/Linux/B4D820EA/BlocksEditor/Development/BlocksEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="/home/gpu/??????1/UE4/UE4-27/Engine/Programs/UnrealBuildTool/Log_UHT.txt"
LogInit: Display: Loading text-based GConfig....
Reflection code generated for BlocksEditor in 2.5155869 seconds
@progress pop
------- Build details --------
Using toolchain located at '/home/gpu/??????1/UE4/UE4-27/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v19_clang-11.0.1-centos7/x86_64-unknown-linux-gnu'.
Using clang (/home/gpu/??????1/UE4/UE4-27/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/gpu/??????1/UE4/UE4-27/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/gpu/??????1/UE4/UE4-27/Engine/Binaries/Linux/Android/libUE4Editor-AndroidDeviceDetection.so
       /home/gpu/??????1/UE4/UE4-27/Engine/Binaries/Linux/Android/libUE4Editor-AndroidPlatformEditor.so
       /home/gpu/??????1/UE4/UE4-27/Engine/Binaries/Linux/Android/libUE4Editor-AndroidRuntimeSettings.so
       /home/gpu/??????1/UE4/UE4-27/Engine/Binaries/Linux/Android/libUE4Editor-AndroidTargetPlatform.so
       /home/gpu/??????1/UE4/UE4-27/Engine/Binaries/Linux/Android/UE4Editor.modules
       /home/gpu/??????1/UE4/UE4-27/Engine/Binaries/Linux/libUE4Editor-VulkanRHI.so
       /home/gpu/??????1/UE4/UE4-27/Engine/Binaries/Linux/libUE4Editor-WorldBrowser.so
       /home/gpu/??????1/UE4/UE4-27/Engine/Binaries/Linux/Linux/libUE4Editor-LinuxAArch64ClientTargetPlatform.so
       /home/gpu/??????1/UE4/UE4-27/Engine/Binaries/Linux/Linux/libUE4Editor-LinuxAArch64NoEditorTargetPlatform.so
       /home/gpu/??????1/UE4/UE4-27/Engine/Binaries/Linux/Linux/libUE4Editor-LinuxAArch64ServerTargetPlatform.so
       /home/gpu/??????1/UE4/UE4-27/Engine/Binaries/Linux/Linux/libUE4Editor-LinuxClientTargetPlatform.so
       /home/gpu/??????1/UE4/UE4-27/Engine/Binaries/Linux/Linux/libUE4Editor-LinuxNoEditorTargetPlatform.so
       /home/gpu/??????1/UE4/UE4-27/Engine/Binaries/Linux/Linux/libUE4Editor-LinuxServerTargetPlatform.so
       /home/gpu/??????1/UE4/UE4-27/Engine/Binaries/Linux/Linux/libUE4Editor-LinuxTargetPlatform.so
       /home/gpu/??????1/UE4/UE4-27/Engine/Binaries/Linux/Linux/UE4Editor.modules
       /home/gpu/??????1/UE4/UE4-27/Engine/Binaries/Linux/UE4Editor
       /home/gpu/??????1/UE4/UE4-27/Engine/Binaries/Linux/UE4Editor.modules
       /home/gpu/??????1/UE4/UE4-27/Engine/Binaries/Linux/UE4Editor-Cmd
       /home/gpu/??????1/UE4/UE4-27/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/Chaos/AABB.ispc.generated.dummy.h
       /home/gpu/??????1/UE4/UE4-27/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/Chaos/AABB.ispc.generated.h

屏幕截图 2022-06-20 14:57:49

Settings

How can the issue be reproduced?

Include full error message in text form

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

deadseason avatar Jun 20 '22 07:06 deadseason

Hi and welcome @deadseason! Maybe you are facing #4264. Can you try with master?

jonyMarino avatar Jun 20 '22 15:06 jonyMarino

Hi and welcome @deadseason! Maybe you are facing #4264. Can you try with master?

Still can not open it. The same error.

deadseason avatar Jun 23 '22 06:06 deadseason

I think I've found your issue. Try with this solution

jonyMarino avatar Jun 24 '22 18:06 jonyMarino

I think I've found your issue. Try with this solution

I have tried, but it still did not work.The same issue.

deadseason avatar Jun 28 '22 04:06 deadseason

Did you upgrade to 4.27 coming from a previous version of unreal engine?

jonyMarino avatar Jun 29 '22 00:06 jonyMarino

Did you upgrade to 4.27 coming from a previous version of unreal engine?

Yes, I used 4.26.2 before, and the problem occurred. So I deleted the old version and installed the new 4.27 UE.

deadseason avatar Jun 29 '22 04:06 deadseason

Ok. So can you try with a new clone of the AirSim repository?

jonyMarino avatar Jun 29 '22 16:06 jonyMarino

Ok. So can you try with a new clone of the AirSim repository?

Error still existed. I have updated Airsim to 1.7.0.

deadseason avatar Jun 30 '22 07:06 deadseason

@deadseason No. Not to update AirSim. An alternative would be for you to delete the Blocks folder. Then with a git ~~pull~~checkout, you should reestablish it.

jonyMarino avatar Jun 30 '22 18:06 jonyMarino

@deadseason No. Not to update AirSim. An alternative would be for you to delete the Blocks folder. Then with a git pull, you should restablish it.

how to use 'git pull' to restablish it?

deadseason avatar Jul 01 '22 03:07 deadseason

@deadseason, sorry it is with git checkout Blocks inside the Environments folder. Then you need to call update_from_git.bat/sh

jonyMarino avatar Jul 01 '22 16:07 jonyMarino

@deadseason, sorry it is with git checkout Blocks inside the Environments folder. Then you need to call update_from_git.bat/sh

I just run the update_from_git.sh, and still can not open it.

deadseason avatar Jul 04 '22 06:07 deadseason

From your original post I see you are using mono. You can try with the other solution provided in the previous thread.

jonyMarino avatar Jul 04 '22 17:07 jonyMarino

Same error , anyone managed to solve it ?

tanyaspaul avatar Oct 05 '22 21:10 tanyaspaul

same error

zhjc2014 avatar Nov 11 '22 08:11 zhjc2014