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

Run the simulation in Ubuntu 22.04.2 ARM64 #363

Open
santysangro opened this issue Nov 14, 2023 · 18 comments
Open

Run the simulation in Ubuntu 22.04.2 ARM64 #363

santysangro opened this issue Nov 14, 2023 · 18 comments

Comments

@santysangro
Copy link

Hi!
So I am currently trying to download the simulator in Ubuntu 22.04.2 ARM64, and I cannot seem to make it work. Can someone give me a little step by step on how to make it work? It would be greatly appreciated.
Thanks!

@wouter-heerwegh
Copy link
Member

Hi @santysangro,

I'm assuming you're trying to run the binaries? Those are built for x86, we currently do not build them for ARM. If you would want to run it on ARM, you would have to recompile it from source. The documentation should explain how to do so, but if you have any problems with it, feel free to hit me up.

@santysangro
Copy link
Author

Hey @wouter-heerwegh
Yes, I am trying to run the binaries. Do you mean by recompile it from source using the Unreal Engine editor? I have also tried, but it also does not seem to work.

@wouter-heerwegh
Copy link
Member

Yes, you would need to use Unreal Engine, and package it for your system. Did you manage to build Airsim and does it open the project in Unreal Engine?

@santysangro
Copy link
Author

I did not. I cloned the Unreal Engine repo but when trying to run the ./Setup.sh command, it gives me Exec format error. How could I fix this?

@wouter-heerwegh
Copy link
Member

Would be hard to say without any error trace. Would you be able to put the terminal output here?

@santysangro
Copy link
Author

sure!
Registering git hooks... (this will override existing ones!)
Fixing inconsistent case in filenames.
Setting up Mono
Engine/Build/BatchFiles/Linux/GitDependencies.sh: line 25: /home/parallels/UnrealEngine/Engine/Build/BatchFiles/Linux/../../../Binaries/ThirdParty/Mono/Linux/bin/mono: cannot execute binary file: Exec format error
Result: 126

@wouter-heerwegh
Copy link
Member

I think you would have to install mono first see this. Could you check if it works after that?

@santysangro
Copy link
Author

I have this mono version, but I get the same error.
Mono JIT compiler version 6.12.0.200 (tarball Tue Jul 11 21:45:16 UTC 2023)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: normal
Notifications: epoll
Architecture: arm64
Disabled: none
Misc: softdebug
Interpreter: yes
LLVM: yes(610)
Suspend: preemptive
GC: sgen (concurrent by default)

@santysangro
Copy link
Author

I also get this warning when running sudo apt update
W: https://download.mono-project.com/repo/ubuntu/dists/stable-focal/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
maybe it helps.

@wouter-heerwegh
Copy link
Member

I think it is trying to use a mono executable in this path /home/parallels/UnrealEngine/Engine/Build/BatchFiles/Linux/../../../Binaries/ThirdParty/Mono/Linux/bin/mono. Could you check that the file is executable? I.e. ls -la /home/parallels/UnrealEngine/Engine/Build/BatchFiles/Linux/../../../Binaries/ThirdParty/Mono/Linux/bin/mono and seeing if it contains x's. The deprecation has to do with the apt repository for mono, but should not be an issue

@santysangro
Copy link
Author

Yeah, I get this:
-rwxrwxr-x 1 parallels parallels 19432917 Nov 14 22:48 /home/parallels/UnrealEngine/Engine/Build/BatchFiles/Linux/../../../Binaries/ThirdParty/Mono/Linux/bin/mono

@wouter-heerwegh
Copy link
Member

Is this file executable? Engine/Binaries/DotNET/GitDependencies.exe

@santysangro
Copy link
Author

Yes, the file is running,

@wouter-heerwegh
Copy link
Member

Could you try to run mono Engine/Binaries/DotNET/GitDependencies.exe manually?

@santysangro
Copy link
Author

Yes, it also works.

@wouter-heerwegh
Copy link
Member

So the Setup.sh script runs fine now?

@santysangro
Copy link
Author

No, I still get the same eror:
Registering git hooks... (this will override existing ones!)
Fixing inconsistent case in filenames.
Setting up Mono
Engine/Build/BatchFiles/Linux/GitDependencies.sh: line 25: /home/parallels/UnrealEngine/Engine/Build/BatchFiles/Linux/../../../Binaries/ThirdParty/Mono/Linux/bin/mono: cannot execute binary file: Exec format error
Result: 126

@wouter-heerwegh
Copy link
Member

I don't immediately have an idea then. It could be good to open a post here since it seems to be an unreal engine issue. I've seen some posts like this one that experience a similar issue, but not sure if that will fix it in your case.

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

2 participants