carla-simulator/carla

Cannot 'make launch' when building latest version of carla fails with error 6

Open

#4583 aperta il 27 ago 2021

Vedi su GitHub
 (13 commenti) (0 reazioni) (1 assegnatario)C++ (3227 fork)batch import
help wanted

Metriche repository

Star
 (10.105 star)
Metriche merge PR
 (Merge medio 17g 10h) (21 PR mergiate in 30 g)

Descrizione

CARLA version: Latest Platform/OS: Windows 10 Problem you have experienced: unable to complete make launch step get the following issue:

D:/CARLA/CARLA/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Game/CarlaHUD.cpp(23): warning C4996: 'UWheeledVehicleMovementComponent::DrawDebug': PhysX is deprecated. Use the UChaosWheeledVehicleMovementComponent fron the ChaosVehiclePhysics Plugin. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. D:/CARLA/CARLA/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(474): warning C4458: declaration of 'Role' hides class member G:\Epic\UE_4.26\Engine\Source\Runtime\Engine\Classes\GameFramework/Actor.h(541): note: see declaration of 'AActor::Role' D:/CARLA/CARLA/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(483): warning C4458: declaration of 'Role' hides class member G:\Epic\UE_4.26\Engine\Source\Runtime\Engine\Classes\GameFramework/Actor.h(541): note: see declaration of 'AActor::Role' G:\Epic\UE_4.26\Engine\Source\Runtime\CoreUObject\Public\Templates/Casts.h(442): error C4541: 'dynamic_cast' used on polymorphic type 'FActorData' with /GR-; unpredictable behavior may result D:\CARLA\CARLA\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla/Actor/CarlaActor.h(169): note: see reference to function template instantiation 'FVehicleData *UE4Casts_Private::DynamicCast<T*,ObjectType>(From *)' being compiled with [ T=FVehicleData, ObjectType=FActorData, From=FActorData ] D:/CARLA/CARLA/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Actor/CarlaActor.cpp(635): note: see reference to function template instantiation 'T *FCarlaActor::GetActorData<FVehicleData>(void)' being compiled with [ T=FVehicleData ] make: *** [Util/BuildTools/Windows.mk:20: CarlaUE4Editor] Error 6

I have tried make clear before and after python API step, have tried running as admin and reinstalling carla. Not too sure what it means by code out of date.

Cheers

Guida contributor