carla-simulator / carla

Open-source simulator for autonomous driving research.
http://carla.org
MIT License
11.23k stars 3.63k forks source link

Carla / UE install #3887

Closed ipirva closed 1 year ago

ipirva commented 3 years ago

Hello,

I am trying to install Carla on Linux ARMv8 (Jetson Xavier NX) using the Linux installation guide: https://carla.readthedocs.io/en/latest/build_linux/

git clone -b release https://github.com/EpicGames/UnrealEngine.git
./Setup.sh
Updating dependencies:   0% (0/63142)...
Failed to download 'http://cdn.unrealengine.com/dependencies/UnrealEngine-9954827-b7c45323c9f34d9abe0bddc50d4c769c/01c0d68d8182590bd9ea2b82a37745c39e5bbd13': The type initializer for 'System.Net.WebRequest' threw an exception. (TypeInitializationException)
Result: 1

I have tried as well with the UE4.24 release as exactly the example from the installation guide, but I ran into the same error.

~/UnrealEngine_4.24$ ./Setup.sh 
Registering git hooks... (this will override existing ones!)
Fixing inconsistent case in filenames.
Setting up Mono
Checking dependencies...
The following file(s) have been modified:
  Engine/Binaries/ThirdParty/Mono/Linux/lib/mono/4.5/al.exe
  Engine/Binaries/ThirdParty/Mono/Linux/lib/mono/4.5/browsercaps-updater.exe
  Engine/Binaries/ThirdParty/Mono/Linux/lib/mono/4.5/caspol.exe
......
Would you like to overwrite your changes (y/n)? n
Updating dependencies:   0% (0/59223)...
Failed to download 'http://cdn.unrealengine.com/dependencies/3080521-4555593138d749878eace1a85d45da69/02a0f12c2e24355ee396573eb72a2ae8cf84e86a': The type initializer for 'System.Net.WebRequest' threw an exception. (TypeInitializationException)
Result: 1

I can wget the dependencies files: ` wget -c http://cdn.unrealengine.com/dependencies/UnrealEngine-9954827-b7c45323c9f34d9abe0bddc50d4c769c/01c0d68d8182590bd9ea2b82a37745c39e5bbd13 --2021-02-14 19:44:13-- http://cdn.unrealengine.com/dependencies/UnrealEngine-9954827-b7c45323c9f34d9abe0bddc50d4c769c/01c0d68d8182590bd9ea2b82a37745c39e5bbd13 Resolving cdn.unrealengine.com (cdn.unrealengine.com)... 13.224.234.98 Connecting to cdn.unrealengine.com (cdn.unrealengine.com)|13.224.234.98|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 2645976 (2,5M) [text/plain] Saving to: ‘01c0d68d8182590bd9ea2b82a37745c39e5bbd13’

01c0d68d8182590bd9ea2b82a37745c39e5bbd13 100%[====================================================================================>] 2,52M --.-KB/s in 0,09s

2021-02-14 19:44:13 (27,5 MB/s) - ‘01c0d68d8182590bd9ea2b82a37745c39e5bbd13’ saved [2645976/2645976]

wget -c http://cdn.unrealengine.com/dependencies/3080521-4555593138d749878eace1a85d45da69/02a0f12c2e24355ee396573eb72a2ae8cf84e86a --2021-02-14 19:51:30-- http://cdn.unrealengine.com/dependencies/3080521-4555593138d749878eace1a85d45da69/02a0f12c2e24355ee396573eb72a2ae8cf84e86a Resolving cdn.unrealengine.com (cdn.unrealengine.com)... 13.224.234.98 Connecting to cdn.unrealengine.com (cdn.unrealengine.com)|13.224.234.98|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 5481255 (5,2M) [text/plain] Saving to: ‘02a0f12c2e24355ee396573eb72a2ae8cf84e86a’

02a0f12c2e24355ee396573eb72a2ae8cf84e86a 100%[====================================================================================>] 5,23M 27,7MB/s in 0,2s

2021-02-14 19:51:31 (27,7 MB/s) - ‘02a0f12c2e24355ee396573eb72a2ae8cf84e86a’ saved [5481255/5481255]

`

May I ask for help please? Thank you.

qhaas commented 3 years ago

Are you planning to run the server or just the client on ARM? If the latter, which I've seen more often, you don't need the UnrealEngine to compile just the client. You can just run make PythonAPI.

I'm not sure if UnrealEngine 4.24 is fully supported on ARM for the purposes of CARLA serve, but I could be wrong (we had trouble with ppc64le).

ipirva commented 3 years ago

I plan to run both, client and server, on an NVIDIA Jetson Xavier NX and take advantage of the acceleration hardware. I have not been able to setup the UE.

corkyw10 commented 3 years ago

@bernatx could you have a look at this please?

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.