Closed MS012086 closed 3 years ago
Hi @MS012086, you are compiling CARLA with unreal 4.26 but only 4.24 is supported in version 0.9.10.1. You need to switch to the supported version to be able to compile the project.
Dear Axel1092,
Thank you very much for your response.
I have tried with Unreal engine 4.24 software, following error message is received while launch the Carla. Can you please help me out regarding this issue.
Carla version 0.9.10.1 Unreal Engine 4.24 Ubuntu 18.04 Python 2.7
/home/Test/UnrealEngine_4.24/Engine/Source/Runtime/VulkanRHI/Public/VulkanMemory.h:1244:8: error: class member cannot be redeclared
void EnqueueResourceAllocation(TRefCountPtr
Thanks in advance! Thanks & Regards, M Saravanan
It seems like UE4 is missing some files, did the ./Setup.sh && ./GenerateProjectFiles.sh && make
command produce any error when compiling the engine?
Dear Axel1092,
Yes, I received following error message.
Test@Test-D-12680:~/UnrealEngine_4.24$ ./Setup.sh && ./GenerateProjectFiles.sh && make Registering git hooks... (this will override existing ones!) Fixing inconsistent case in filenames. Setting up Mono Checking dependencies... Result: 0 Register the engine installation... Installing a bundled clang toolchain Toolchain already installed skipping.
Target arch set to: x86_64-unknown-linux-gnu Building ThirdParty libraries
If you don't see SUCCESS message in the end, then building did not finish properly. In that case, take a look into /home/Test/UnrealEngine_4.24/Engine/Build/BatchFiles/Linux/BuildThirdParty.log for details.
No third party libs needed to be built locally
** SUCCESS **** Setup successful. Attempting to set up UE4 pretty printers for gdb (existing UE4Printers.py, if any, will be overwritten)... updated UE4Printers.py found necessary entries in ~/.gdbinit file, not changing it.
Setting up Unreal Engine 4 project files...
Building UE4Editor...
[Adaptive unity build] Excluded from VulkanRHI unity file: VulkanIndexBuffer.cpp, VulkanMemory.cpp, VulkanRHI.cpp, VulkanTexture.cpp, VulkanViewport.cpp
Performing 12 actions (8 in parallel)
[6/12] Compile VulkanRHI.cpp
[2/12] Compile Module.VulkanRHI.1_of_3.cpp
[1/12] Compile VulkanViewport.cpp
[7/12] Compile VulkanIndexBuffer.cpp
[4/12] Compile Module.VulkanRHI.3_of_3.cpp
[3/12] Compile Module.VulkanRHI.2_of_3.cpp
[8/12] Compile VulkanMemory.cpp
[5/12] Compile VulkanTexture.cpp
In file included from /home/Test/UnrealEngine_4.24/Engine/Source/Runtime/VulkanRHI/Private/VulkanRHI.cpp:7:
In file included from Runtime/VulkanRHI/Private/VulkanRHIPrivate.h:41:
In file included from Runtime/VulkanRHI/Private/VulkanResources.h:15:
/home/Test/UnrealEngine_4.24/Engine/Source/Runtime/VulkanRHI/Public/VulkanMemory.h:1244:8: error: class member cannot be redeclared
void EnqueueResourceAllocation(TRefCountPtr
Thanks & Regards, Saravanan
@MS012086 are you still facing this issue?
@MS012086, sorry for the late reply. I have never seen these errors when compiling unreal. Make sure you follow the instructions in the documentation (https://carla.readthedocs.io/en/latest/build_linux/), also check the installation guide in the unreal documentation itself: https://docs.unrealengine.com/en-US/SharingAndReleasing/Linux/BeginnerLinuxDeveloper/SettingUpAnUnrealWorkflow/index.html
Hi @Axel1092, Thank you so much for your reply. I have resolved the issue. While adding a new vehicle into carla, i have missed one step due to that reason the above error is occurred. Now it is working fine.
Hello All,
When I try to do make launch compiles the server simulator and launches Unreal Engine. but following error message is throwing
/home/Test/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/OpenDrive/OpenDriveGenerator.cpp:19:10: fatal error: 'PhysicsEngine/BodySetupEnums.h' file not found
include "PhysicsEngine/BodySetupEnums.h"
4 warnings and 1 error generated. Makefile:315: recipe for target 'CarlaUE4Editor' failed make[1]: [CarlaUE4Editor] Error 6 make[1]: Leaving directory '/home/kpit/carla/Unreal/CarlaUE4' Util/BuildTools/Linux.mk:7: recipe for target 'launch' failed make: [launch] Error 2
Python Version: Python 2.7.17 (default, Sep 30 2020, 13:38:04)
Can you please let me know how to resolve the above error.
Ubuntu - 18.04 Carla - 0.0.9.10.1 Python 2.7 Unreal Engine - 4.26
Thank You, Saravanan