Hi,
I am not able to get the required results while running ./Setup.sh.
I am getting the following error when i run Setup.sh.
rohan@rohan-Lenovo-Y520-15IKBN:~/carla-master$ ./Setup.sh
Downloading Content.tar.gz... 32.77KB Done.
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Can anyone tell me whats wrong?
Hi @RohanSaphal, something went wrong with the download step, the Content.tar.gz file is about 10GB and you only downloaded few KB. Try running it again, if not you can download it manually from here.
Thanks @nsubiron
How do i build the dependencies after that?..and where to unzip the file.
The content should be extracted at Unreal/CarlaUE4/Content.
Now, I just realized we don't have a nice way to skip the content download in the Setup script. You'll have to use a small hack, just create an empty folder called .git inside the newly create Content folder and run the setup script again, it will skip the download and compile the dependencies.
$ mkdir Unreal/CarlaUE4/Content/.git
$ ./Setup.sh
I am getting this error when using the rebuild script...
Can u tell me whats going wrong?
Performing 11 actions (8 in parallel)
[2/11] Compile Module.Carla.cpp
[1/11] Compile PCH.CarlaUE4.h
[3/11] Compile Module.Carla.gen.cpp
fatal error: file '/usr/include/linux/version.h' has been modified since the precompiled header
'/home/rohan/UnrealEngine_4.17/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/Engine/SharedPCH.Engine.h.gch'
was built
note: please rebuild precompiled header
'/home/rohan/UnrealEngine_4.17/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/Engine/SharedPCH.Engine.h.gch'
fatal error: file '/usr/include/linux/version.h' has been modified since the precompiled header
'/home/rohan/UnrealEngine_4.17/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/Engine/SharedPCH.Engine.h.gch'
was built
note: please rebuild precompiled header
'/home/rohan/UnrealEngine_4.17/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/Engine/SharedPCH.Engine.h.gch'
1 error generated.
1 error generated.
[4/11] Compile CarlaUE4GameModeBase.gen.cpp
[5/11] Compile CarlaUE4.init.gen.cpp
[6/11] Compile CarlaMapGenerator.gen.cpp
[7/11] Compile CarlaUE4GameModeBase.cpp
[8/11] Compile CarlaUE4.cpp
[9/11] Compile CarlaMapGenerator.cpp
ERROR: UBT ERROR: Failed to produce item: /home/rohan/carla-master/Unreal/CarlaUE4/Plugins/Carla/Binaries/Linux/libUE4Editor-Carla.so
Total build time: 149.76 seconds (Local executor: 0.00 seconds)
Makefile:600: recipe for target 'CarlaUE4Editor' failed
make: * [CarlaUE4Editor] Error 5
Yes, this is a common issue, check out our Troubleshooting section. You should force a recompile and possibly reboot the computer
$ cd Unreal/CarlaUE4/
$ make CarlaUE4Editor ARGS=-clean
$ make CarlaUE4Editor
Hi,
Could you provide the download link for Content_0.8.2 instead of Content_0.7.0?
Hi @WillenPeng , checkout #652.
Most helpful comment
The content should be extracted at
Unreal/CarlaUE4/Content.Now, I just realized we don't have a nice way to skip the content download in the Setup script. You'll have to use a small hack, just create an empty folder called
.gitinside the newly create Content folder and run the setup script again, it will skip the download and compile the dependencies.