carla-simulator / carla

Open-source simulator for autonomous driving research.
http://carla.org
MIT License
11.55k stars 3.73k forks source link

make package error on windows #5371

Closed zhangn3x closed 6 months ago

zhangn3x commented 2 years ago

I've always had no problem packing my carla release package, but when I want to test my new tag last week I find this error about UE4Editor in make package process(carla:0.9.13 UE4:4.26.): [Upgrade] Building 30 actions with 8 processes... [1/30] SharedPCH.UnrealEd.cpp [2/30] PCH.CarlaUE4.cpp [3/30] Module.Carla.gen.4_of_7.cpp D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla/Vehicle/CarlaWheeledVehicle.h(61): warning C4996: 'AWheeledVehicle': PhysX is deprecated. Use the AWheeledVehiclePawn from 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\Unreal\CarlaUE4\Plugins\Carla\Source\Carla/Vehicle/CarlaWheeledVehicle.h(161): warning C4996: 'UWheeledVehicleMovementComponent4W': PhysX is deprecated. Use the UChaosWheeledVehicleMovementComponent from the ChaosVehiclePhysics Plugin. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. [4/30] Module.Carla.gen.3_of_7.cpp D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla/Vehicle/CarlaWheeledVehicle.h(61): warning C4996: 'AWheeledVehicle': PhysX is deprecated. Use the AWheeledVehiclePawn from 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\Unreal\CarlaUE4\Plugins\Carla\Source\Carla/Vehicle/CarlaWheeledVehicle.h(161): warning C4996: 'UWheeledVehicleMovementComponent4W': PhysX is deprecated. Use the UChaosWheeledVehicleMovementComponent from the ChaosVehiclePhysics Plugin. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. [5/30] Module.Carla.gen.2_of_7.cpp D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla/Vehicle/CarlaWheeledVehicle.h(61): warning C4996: 'AWheeledVehicle': PhysX is deprecated. Use the AWheeledVehiclePawn from 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\Unreal\CarlaUE4\Plugins\Carla\Source\Carla/Vehicle/CarlaWheeledVehicle.h(161): warning C4996: 'UWheeledVehicleMovementComponent4W': PhysX is deprecated. Use the UChaosWheeledVehicleMovementComponent from 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\Unreal\CarlaUE4\Plugins\Carla\Source\Carla/Game/CarlaHUD.h(53): warning C4996: 'UWheeledVehicleMovementComponent': 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\Unreal\CarlaUE4\Plugins\Carla\Source\Carla/Game/CarlaHUD.h(54): warning C4996: 'UWheeledVehicleMovementComponent': 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. [6/30] Module.Carla.2_of_3.cpp D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(84): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(84): error C2143: syntax error: missing ';' before '&' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(84): error C2065: 'Registry': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(84): error C2027: use of undefined type 'UCarlaEpisode' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaRecorder.h(37): note: see declaration of 'UCarlaEpisode' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(87): error C2065: 'Registry': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(87): error C3536: 'It': cannot be used before it is initialized D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(87): error C2065: 'Registry': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(91): error C2027: use of undefined type 'FCarlaActor' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaReplayerHelper.h(20): note: see declaration of 'FCarlaActor' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(94): error C2027: use of undefined type 'FCarlaActor' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaReplayerHelper.h(20): note: see declaration of 'FCarlaActor' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(94): error C2065: 'Other': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(99): error C2027: use of undefined type 'FCarlaActor' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaReplayerHelper.h(20): note: see declaration of 'FCarlaActor' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(99): error C2065: 'Vehicle': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(110): error C2027: use of undefined type 'FCarlaActor' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaReplayerHelper.h(20): note: see declaration of 'FCarlaActor' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(110): error C2065: 'Walker': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(120): error C2027: use of undefined type 'FCarlaActor' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaReplayerHelper.h(20): note: see declaration of 'FCarlaActor' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(120): error C2065: 'TrafficLight': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(129): error C2027: use of undefined type 'UCarlaEpisode' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaRecorder.h(37): note: see declaration of 'UCarlaEpisode' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(132): error C2027: use of undefined type 'UCarlaEpisode' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaRecorder.h(37): note: see declaration of 'UCarlaEpisode' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(152): error C2027: use of undefined type 'FCarlaActor' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaReplayerHelper.h(20): note: see declaration of 'FCarlaActor' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(156): error C2027: use of undefined type 'FCarlaActor' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaReplayerHelper.h(20): note: see declaration of 'FCarlaActor' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(155): error C2440: '': cannot convert from 'initializer list' to 'CarlaRecorderPosition' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(155): note: Invalid aggregate initialization D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(166): error C2027: use of undefined type 'FCarlaActor' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaReplayerHelper.h(20): note: see declaration of 'FCarlaActor' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(171): error C2065: 'FVehicleControl': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(171): error C2146: syntax error: missing ';' before identifier 'Control' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(171): error C2065: 'Control': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(172): error C2027: use of undefined type 'FCarlaActor' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaReplayerHelper.h(20): note: see declaration of 'FCarlaActor' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(172): error C2065: 'Control': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(176): error C2027: use of undefined type 'FCarlaActor' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaReplayerHelper.h(20): note: see declaration of 'FCarlaActor' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(177): error C2065: 'Control': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(178): error C2065: 'Control': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(179): error C2065: 'Control': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(180): error C2065: 'Control': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(181): error C2065: 'Control': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(189): error C2027: use of undefined type 'FCarlaActor' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaReplayerHelper.h(20): note: see declaration of 'FCarlaActor' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(192): error C2027: use of undefined type 'FCarlaActor' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaReplayerHelper.h(20): note: see declaration of 'FCarlaActor' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(195): error C2027: use of undefined type 'FCarlaActor' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaReplayerHelper.h(20): note: see declaration of 'FCarlaActor' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(196): error C2397: conversion from 'float' to 'uint32_t' requires a narrowing conversion D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(205): error C2065: 'ETrafficLightState': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(205): error C2146: syntax error: missing ';' before identifier 'LightState' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(205): error C2065: 'LightState': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(205): error C2027: use of undefined type 'FCarlaActor' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaReplayerHelper.h(20): note: see declaration of 'FCarlaActor' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(206): error C2065: 'UTrafficLightController': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(206): error C2065: 'Controller': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(206): error C2027: use of undefined type 'FCarlaActor' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaReplayerHelper.h(20): note: see declaration of 'FCarlaActor' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(207): error C2065: 'Controller': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(209): error C2065: 'ATrafficLightGroup': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(209): error C2065: 'Group': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(209): error C2065: 'Controller': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(210): error C2065: 'Group': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(214): error C2027: use of undefined type 'FCarlaActor' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaReplayerHelper.h(20): note: see declaration of 'FCarlaActor' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(215): error C2065: 'Group': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(216): error C2065: 'Controller': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(217): error C2065: 'LightState': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(228): error C2027: use of undefined type 'FCarlaActor' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaReplayerHelper.h(20): note: see declaration of 'FCarlaActor' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(230): error C2027: use of undefined type 'FCarlaActor' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaReplayerHelper.h(20): note: see declaration of 'FCarlaActor' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(241): error C2027: use of undefined type 'FCarlaActor' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaReplayerHelper.h(20): note: see declaration of 'FCarlaActor' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(242): error C2027: use of undefined type 'FCarlaActor' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaReplayerHelper.h(20): note: see declaration of 'FCarlaActor' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(245): error C2027: use of undefined type 'FCarlaActor' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaReplayerHelper.h(20): note: see declaration of 'FCarlaActor' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(246): error C2440: 'initializing': cannot convert from 'FVector' to 'uint32_t' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(246): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(255): error C2027: use of undefined type 'FCarlaActor' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaReplayerHelper.h(20): note: see declaration of 'FCarlaActor' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(255): error C2530: 'Box': references must be initialized D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(258): error C2027: use of undefined type 'FCarlaActor' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaReplayerHelper.h(20): note: see declaration of 'FCarlaActor' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(259): error C3536: 'Box': cannot be used before it is initialized D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(269): error C2065: 'UBoxComponent': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(269): error C2059: syntax error: '>' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(269): error C2027: use of undefined type 'ATrafficSignBase' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaRecorder.h(40): note: see declaration of 'ATrafficSignBase' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(274): error C2065: 'UBoxComponent': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(274): error C2065: 'Trigger': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(275): error C2065: 'Trigger': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(276): error C2065: 'Trigger': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(279): error C2027: use of undefined type 'UCarlaEpisode' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaRecorder.h(37): note: see declaration of 'UCarlaEpisode' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(280): error C3536: 'VolumeOrigin': cannot be used before it is initialized D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(280): error C3536: 'VolumeExtent': cannot be used before it is initialized D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(280): error C2440: 'initializing': cannot convert from 'initializer list' to 'uint32_t' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(280): note: The initializer contains too many elements D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(291): error C2027: use of undefined type 'UCarlaEpisode' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaRecorder.h(37): note: see declaration of 'UCarlaEpisode' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(292): error C2027: use of undefined type 'ACarlaWheeledVehicle' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaRecorder.h(38): note: see declaration of 'ACarlaWheeledVehicle' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(301): error C2027: use of undefined type 'UCarlaEpisode' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaRecorder.h(37): note: see declaration of 'UCarlaEpisode' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(303): error C3536: 'DatabaseId': cannot be used before it is initialized D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(304): error C2027: use of undefined type 'ATrafficLightBase' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaRecorder.h(41): note: see declaration of 'ATrafficLightBase' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(305): error C2027: use of undefined type 'ATrafficLightBase' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaRecorder.h(41): note: see declaration of 'ATrafficLightBase' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(306): error C2027: use of undefined type 'ATrafficLightBase' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaRecorder.h(41): note: see declaration of 'ATrafficLightBase' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(472): error C2027: use of undefined type 'UCarlaEpisode' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaRecorder.h(37): note: see declaration of 'UCarlaEpisode' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(474): error C2027: use of undefined type 'FCarlaActor' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaReplayerHelper.h(20): note: see declaration of 'FCarlaActor' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(476): warning C4458: declaration of 'Role' hides class member D:\UnrealEngine\Engine\Source\Runtime\Engine\Classes\GameFramework/Actor.h(541): note: see declaration of 'AActor::Role' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(476): error C2027: use of undefined type 'FCarlaActor' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaReplayerHelper.h(20): note: see declaration of 'FCarlaActor' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(477): error C3536: 'Role': cannot be used before it is initialized D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(477): error C2446: '!=': no conversion from 'nullptr' to 'int' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(477): note: A native nullptr can only be converted to bool or, using reinterpret_cast, to an integral type D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(480): error C2027: use of undefined type 'FCarlaActor' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaReplayerHelper.h(20): note: see declaration of 'FCarlaActor' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(487): error C2027: use of undefined type 'UCarlaEpisode' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaRecorder.h(37): note: see declaration of 'UCarlaEpisode' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(489): error C2027: use of undefined type 'FCarlaActor' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaReplayerHelper.h(20): note: see declaration of 'FCarlaActor' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(491): warning C4458: declaration of 'Role' hides class member D:\UnrealEngine\Engine\Source\Runtime\Engine\Classes\GameFramework/Actor.h(541): note: see declaration of 'AActor::Role' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(491): error C2027: use of undefined type 'FCarlaActor' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaReplayerHelper.h(20): note: see declaration of 'FCarlaActor' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(492): error C3536: 'Role': cannot be used before it is initialized D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(492): error C2446: '!=': no conversion from 'nullptr' to 'int' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(492): note: A native nullptr can only be converted to bool or, using reinterpret_cast, to an integral type D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(495): error C2027: use of undefined type 'FCarlaActor' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaReplayerHelper.h(20): note: see declaration of 'FCarlaActor' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(543): error C2027: use of undefined type 'UCarlaLight' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaRecorder.h(39): note: see declaration of 'UCarlaLight' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(544): error C2027: use of undefined type 'UCarlaLight' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaRecorder.h(39): note: see declaration of 'UCarlaLight' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(545): error C2027: use of undefined type 'UCarlaLight' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaRecorder.h(39): note: see declaration of 'UCarlaLight' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(546): error C2027: use of undefined type 'UCarlaLight' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaRecorder.h(39): note: see declaration of 'UCarlaLight' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(547): error C2027: use of undefined type 'UCarlaLight' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaRecorder.h(39): note: see declaration of 'UCarlaLight' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(573): error C2065: 'FActorRegistry': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(573): error C2146: syntax error: missing ';' before identifier 'Registry' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(573): error C2065: 'Registry': undeclared identifier D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(573): error C2027: use of undefined type 'UCarlaEpisode' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Recorder\CarlaRecorder.h(37): note: see declaration of 'UCarlaEpisode' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Recorder/CarlaRecorder.cpp(573): fatal error C1003: error count exceeds 100; stopping compilation [7/30] Module.Carla.gen.1_of_7.cpp D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla/Vehicle/CarlaWheeledVehicle.h(61): warning C4996: 'AWheeledVehicle': PhysX is deprecated. Use the AWheeledVehiclePawn from 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\Unreal\CarlaUE4\Plugins\Carla\Source\Carla/Vehicle/CarlaWheeledVehicle.h(161): warning C4996: 'UWheeledVehicleMovementComponent4W': PhysX is deprecated. Use the UChaosWheeledVehicleMovementComponent from the ChaosVehiclePhysics Plugin. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. [8/30] Module.Carla.3_of_3.cpp D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(28): error C2027: use of undefined type 'carla::road::element::RoadInfoSignal' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Traffic\SignComponent.h(23): note: see declaration of 'carla::road::element::RoadInfoSignal' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(28): error C2530: 'validity': references must be initialized D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(28): error C3531: 'validity': a symbol whose type contains 'auto' must have an initializer D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(28): error C2143: syntax error: missing ';' before ':' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(28): error C2143: syntax error: missing ';' before ')' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(30): error C2660: 'carla::geom::Math::GenerateRange': function does not take 1 arguments D:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\carla/geom/Math.h(124): note: see declaration of 'carla::geom::Math::GenerateRange' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(30): error C3531: 'lane': a symbol whose type contains 'auto' must have an initializer D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(30): error C2143: syntax error: missing ';' before ':' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(30): error C2660: 'carla::geom::Math::GenerateRange': function does not take 1 arguments D:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\carla/geom/Math.h(124): note: see declaration of 'carla::geom::Math::GenerateRange' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(30): error C2143: syntax error: missing ';' before ')' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(36): error C2027: use of undefined type 'carla::road::element::RoadInfoSignal' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla\Traffic\SignComponent.h(23): note: see declaration of 'carla::road::element::RoadInfoSignal' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(35): error C2664: 'boost::optional carla::road::Map::GetWaypoint(const carla::geom::Location &,int32_t) const': cannot convert argument 1 from '_Ty1' to 'const carla::geom::Location &' with [ _Ty1=carla::road::RoadId ] D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(36): note: Reason: cannot convert from '_Ty1' to 'const carla::geom::Location' with [ _Ty1=carla::road::RoadId ] D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(36): note: No constructor could take the source type, or constructor overload resolution was ambiguous D:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\carla/road/Map.h(56): note: see declaration of 'carla::road::Map::GetWaypoint' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(38): error C3536: 'signal_waypoint': cannot be used before it is initialized D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(38): error C2664: 'const carla::road::Lane &carla::road::Map::GetLane(carla::road::Map::Waypoint) const': cannot convert argument 1 from 'int' to 'carla::road::Map::Waypoint' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(38): note: No constructor could take the source type, or constructor overload resolution was ambiguous D:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\carla/road/Map.h(71): note: see declaration of 'carla::road::Map::GetLane' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(43): error C2664: 'double carla::road::Map::GetLaneWidth(carla::road::Map::Waypoint) const': cannot convert argument 1 from 'int' to 'carla::road::Map::Waypoint' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(43): note: No constructor could take the source type, or constructor overload resolution was ambiguous D:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\carla/road/Map.h(75): note: see declaration of 'carla::road::Map::GetLaneWidth' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(48): error C2664: 'const carla::road::Lane &carla::road::Map::GetLane(carla::road::Map::Waypoint) const': cannot convert argument 1 from 'int' to 'carla::road::Map::Waypoint' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(48): note: No constructor could take the source type, or constructor overload resolution was ambiguous D:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\carla/road/Map.h(71): note: see declaration of 'carla::road::Map::GetLane' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(49): error C2664: 'const carla::road::Lane &carla::road::Map::GetLane(carla::road::Map::Waypoint) const': cannot convert argument 1 from 'int' to 'carla::road::Map::Waypoint' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(49): note: No constructor could take the source type, or constructor overload resolution was ambiguous D:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\carla/road/Map.h(71): note: see declaration of 'carla::road::Map::GetLane' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(52): error C2672: 'FMath::Clamp': no matching overloaded function found D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(57): error C2672: 'FMath::Clamp': no matching overloaded function found D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(61): error C2664: 'carla::geom::Transform carla::road::Map::ComputeTransform(carla::road::Map::Waypoint) const': cannot convert argument 1 from 'int' to 'carla::road::Map::Waypoint' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(61): note: No constructor could take the source type, or constructor overload resolution was ambiguous D:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\carla/road/Map.h(65): note: see declaration of 'carla::road::Map::ComputeTransform' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(63): error C2664: 'std::vector<carla::road::Map::Waypoint,std::allocator> carla::road::Map::GetPredecessors(carla::road::Map::Waypoint) const': cannot convert argument 1 from 'int' to 'carla::road::Map::Waypoint' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(63): note: No constructor could take the source type, or constructor overload resolution was ambiguous D:\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\include\carla/road/Map.h(115): note: see declaration of 'carla::road::Map::GetPredecessors' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(64): error C3536: 'Predecessors': cannot be used before it is initialized D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(64): error C2672: 'begin': no matching overloaded function found D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(65): error C2893: Failed to specialize function template 'unknown-type std::begin(_Container &)' D:\C++\VC\Tools\MSVC\14.29.30133\INCLUDE\xutility(1916): note: see declaration of 'std::begin' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(65): note: With the following template arguments: D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(65): note: '_Container=int' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(65): error C2784: 'const _Elem std::begin(std::initializer_list<_Elem>) noexcept': could not deduce template argument for 'std::initializer_list<_Elem>' from 'int' D:\C++\VC\Tools\MSVC\14.29.30133\INCLUDE\initializer_list(57): note: see declaration of 'std::begin' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(64): error C2672: 'end': no matching overloaded function found D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(65): error C2893: Failed to specialize function template 'unknown-type std::end(_Container &)' D:\C++\VC\Tools\MSVC\14.29.30133\INCLUDE\xutility(1926): note: see declaration of 'std::end' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(65): note: With the following template arguments: D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(65): note: '_Container=int' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(65): error C2784: 'const _Elem std::end(std::initializer_list<_Elem>) noexcept': could not deduce template argument for 'std::initializer_list<_Elem>' from 'int' D:\C++\VC\Tools\MSVC\14.29.30133\INCLUDE\initializer_list(63): note: see declaration of 'std::end' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(65): error C3536: '$L1': cannot be used before it is initialized D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(65): error C3536: '$L1': cannot be used before it is initialized D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(64): error C2100: illegal indirection D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(193): error C2027: use of undefined type 'ACarlaWheeledVehicle' D:\carla\Unreal\CarlaUE4\Plugins\Carla\Source\Carla/Vehicle/WheeledVehicleAIController.h(18): note: see declaration of 'ACarlaWheeledVehicle' D:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Traffic/YieldSignComponent.cpp(204): error C2027: use of undefined type 'ACarlaWheeledVehicle'

Previously, this problem still existed in my make launch process, so I try to rebuild my C++, UE4 and carla, but now it will still appear in the make package process

wkgud9090 commented 2 years ago

anyone solve this issue?

TR-Monash commented 2 years ago

I get similar errors for CarlaRecorder.cpp on one of my computers, but it works perfectly fine on the other computer I have! Tried many different things (ranging from confirming environmental variable to changing the code) to no avail.

Rocky0102 commented 1 year ago

I met this annoying problem several times, exactly the same error messages, and tried many ways and finally was able to solve it. I deleted everything under folder carla\Unreal\CarlaUE4\ except Content and Config, then repull those deleted files/folders from github, and recompiled. I think maybe the reason was that I generated VS solution project files with CarlaUE4.uproject and opened it with VS2019, the two building systems may have something conflict.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Blyron commented 7 months ago

We cannot reproduce this issue, could you make clean and then try again? If you have solved the issue are you happy to close it?

Blyron commented 6 months ago

We are closing this issue as we have no responde feel free to reopen if something comes up