carla-simulator/carla

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

Open

#4,583 创建于 2021年8月27日

在 GitHub 查看
 (13 评论) (0 反应) (1 负责人)C++ (10,105 star) (3,227 fork)batch import
help wanted

描述

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

贡献者指南