carla-simulator/carla

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

Open

#4.583 geöffnet am 27. Aug. 2021

Auf GitHub ansehen
 (13 Kommentare) (0 Reaktionen) (1 zugewiesene Person)C++ (3.227 Forks)batch import
help wanted

Repository-Metriken

Stars
 (10.105 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 17T 10h) (21 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide