I followed the readme, copied the modified files to the appropiate folders. After make clean, make PythonAPI everything seems just fine, however during the make launch I get 6 errors. (Carla runs with UnrealEngine just as it should be without the modifications for the Livox sensors). Please help me solve this issue.
Some part of the output error messages:
/home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/Carla/Module.Carla.2_of_4.cpp:5:
In file included from /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/OpenDrive/OpenDrive.cpp:9:
In file included from /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Game/CarlaGameModeBase.h:24:
In file included from /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/SceneCaptureSensor.h:9:
/home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/PixelReader.h:151:62: error: 'carla::sensor::detail::CompileTimeTypeMapImpl<15, std::1::pair<ACollisionSensor *, carla::sensor::s11n::CollisionEventSerializer>, std::1::pair<ADepthCamera , carla::sensor::s11n::ImageSerializer>, std::__1::pair<ADVSCamera , carla::sensor::s11n::DVSEventArraySerializer>, std::1::pair<AGnssSensor *, carla::sensor::s11n::GnssSerializer>, std::1::pair<AInertialMeasurementUnit , carla::sensor::s11n::IMUSerializer>, std::__1::pair<ALaneInvasionSensor , carla::sensor::s11n::NoopSerializer>, std::1::pair<AObstacleDetectionSensor *, carla::sensor::s11n::ObstacleDetectionEventSerializer>, std::1::pair<AOpticalFlowCamera , carla::sensor::s11n::OpticalFlowImageSerializer>, std::__1::pair<ARadar , carla::sensor::s11n::RadarSerializer>, std::1::pair<ARayCastSemanticLidar *, carla::sensor::s11n::SemanticLidarSerializer>, std::1::pair<ARayCastLidar , carla::sensor::s11n::LidarSerializer>, std::__1::pair<ARssSensor , carla::sensor::s11n::NoopSerializer>, std::1::pair<ASceneCaptureCamera *, carla::sensor::s11n::ImageSerializer>, std::1::pair<ASemanticSegmentationCamera , carla::sensor::s11n::ImageSerializer>, std::__1::pair<FWorldObserver , carla::sensor::s11n::EpisodeStateSerializer> >::get<AInstanceSegmentationCamera >::type' (aka 'void') is not a class, namespace, or enumeration
carla::sensor::SensorRegistry::get<TSensor >::type::header_offset,
^
/home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/InstanceSegmentationCamera.cpp:65:17: note: in instantiation of function template specialization 'FPixelReader::SendPixelsInRenderThread<AInstanceSegmentationCamera, FColor>' requested here
FPixelReader::SendPixelsInRenderThread<AInstanceSegmentationCamera, FColor>(this);
In file included from /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/Carla/Module.Carla.2_of_4.cpp:2:
In file included from /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/MapGen/SoilTypeManager.cpp:3:
In file included from /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/MapGen/SoilTypeManager.h:7:
In file included from /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/MapGen/LargeMapManager.h:8:
In file included from /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Actor/CarlaActor.h:10:
In file included from /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Actor/ActorData.h:16:
In file included from /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/DataStream.h:9:
In file included from /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/AsyncDataStream.h:12:
In file included from /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/CarlaDependencies/include/carla/sensor/SensorRegistry.h:10:
/home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/CarlaDependencies/include/carla/sensor/CompositeSerializer.h:83:12: error: type 'Serializer' (aka 'void') cannot be used prior to '::' because it has no members
return Serializer::Serialize(sensor, std::forward(args)...);
^
/home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/AsyncDataStream.h:109:38: note: in instantiation of function template specialization 'carla::sensor::CompositeSerializer<std::__1::pair<ACollisionSensor , carla::sensor::s11n::CollisionEventSerializer>, std::1::pair<ADepthCamera *, carla::sensor::s11n::ImageSerializer>, std::1::pair<ADVSCamera , carla::sensor::s11n::DVSEventArraySerializer>, std::__1::pair<AGnssSensor , carla::sensor::s11n::GnssSerializer>, std::1::pair<AInertialMeasurementUnit *, carla::sensor::s11n::IMUSerializer>, std::1::pair<ALaneInvasionSensor , carla::sensor::s11n::NoopSerializer>, std::__1::pair<AObstacleDetectionSensor , carla::sensor::s11n::ObstacleDetectionEventSerializer>, std::1::pair<AOpticalFlowCamera *, carla::sensor::s11n::OpticalFlowImageSerializer>, std::1::pair<ARadar , carla::sensor::s11n::RadarSerializer>, std::__1::pair<ARayCastSemanticLidar , carla::sensor::s11n::SemanticLidarSerializer>, std::1::pair<ARayCastLidar *, carla::sensor::s11n::LidarSerializer>, std::1::pair<ARssSensor , carla::sensor::s11n::NoopSerializer>, std::__1::pair<ASceneCaptureCamera , carla::sensor::s11n::ImageSerializer>, std::1::pair<ASemanticSegmentationCamera *, carla::sensor::s11n::ImageSerializer>, std::1::pair<FWorldObserver , carla::sensor::s11n::EpisodeStateSerializer> >::Serialize<ARayCastLivoxLidar, carla::sensor::data::LivoxLidarData &, carla::Buffer>' requested here
carla::sensor::SensorRegistry::Serialize(Sensor, std::forward(Args)...));
^
/home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/RayCastLivoxLidar.cpp:68:20: note: in instantiation of function template specialization 'FAsyncDataStreamTmpl<carla::streaming::detail::Stream >::Send<ARayCastLivoxLidar, carla::sensor::data::LivoxLidarData &, carla::Buffer>' requested here
DataStream.Send(this, LivoxLidarData, DataStream.PopBufferFromPool());
In file included from /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/Carla/Module.Carla.2_of_4.cpp:5:
In file included from /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/OpenDrive/OpenDrive.cpp:9:
In file included from /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Game/CarlaGameModeBase.h:24:
/home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/SceneCaptureSensor.h:517:62: error: 'carla::sensor::detail::CompileTimeTypeMapImpl<15, std::1::pair<ACollisionSensor *, carla::sensor::s11n::CollisionEventSerializer>, std::1::pair<ADepthCamera , carla::sensor::s11n::ImageSerializer>, std::__1::pair<ADVSCamera , carla::sensor::s11n::DVSEventArraySerializer>, std::1::pair<AGnssSensor *, carla::sensor::s11n::GnssSerializer>, std::1::pair<AInertialMeasurementUnit , carla::sensor::s11n::IMUSerializer>, std::__1::pair<ALaneInvasionSensor , carla::sensor::s11n::NoopSerializer>, std::1::pair<AObstacleDetectionSensor *, carla::sensor::s11n::ObstacleDetectionEventSerializer>, std::1::pair<AOpticalFlowCamera , carla::sensor::s11n::OpticalFlowImageSerializer>, std::__1::pair<ARadar , carla::sensor::s11n::RadarSerializer>, std::1::pair<ARayCastSemanticLidar *, carla::sensor::s11n::SemanticLidarSerializer>, std::1::pair<ARayCastLidar , carla::sensor::s11n::LidarSerializer>, std::__1::pair<ARssSensor , carla::sensor::s11n::NoopSerializer>, std::1::pair<ASceneCaptureCamera *, carla::sensor::s11n::ImageSerializer>, std::1::pair<ASemanticSegmentationCamera , carla::sensor::s11n::ImageSerializer>, std::__1::pair<FWorldObserver , carla::sensor::s11n::EpisodeStateSerializer> >::get<FCameraGBufferUint8 >::type' (aka 'void') is not a class, namespace, or enumeration
carla::sensor::SensorRegistry::get<CameraGBufferT>::type::header_offset,
Dear IKAROS93,
I followed the readme, copied the modified files to the appropiate folders. After make clean, make PythonAPI everything seems just fine, however during the make launch I get 6 errors. (Carla runs with UnrealEngine just as it should be without the modifications for the Livox sensors). Please help me solve this issue.
Some part of the output error messages:
/home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/Carla/Module.Carla.2_of_4.cpp:5: In file included from /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/OpenDrive/OpenDrive.cpp:9: In file included from /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Game/CarlaGameModeBase.h:24: In file included from /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/SceneCaptureSensor.h:9: /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/PixelReader.h:151:62: error: 'carla::sensor::detail::CompileTimeTypeMapImpl<15, std::1::pair<ACollisionSensor *, carla::sensor::s11n::CollisionEventSerializer>, std::1::pair<ADepthCamera , carla::sensor::s11n::ImageSerializer>, std::__1::pair<ADVSCamera , carla::sensor::s11n::DVSEventArraySerializer>, std::1::pair<AGnssSensor *, carla::sensor::s11n::GnssSerializer>, std::1::pair<AInertialMeasurementUnit , carla::sensor::s11n::IMUSerializer>, std::__1::pair<ALaneInvasionSensor , carla::sensor::s11n::NoopSerializer>, std::1::pair<AObstacleDetectionSensor *, carla::sensor::s11n::ObstacleDetectionEventSerializer>, std::1::pair<AOpticalFlowCamera , carla::sensor::s11n::OpticalFlowImageSerializer>, std::__1::pair<ARadar , carla::sensor::s11n::RadarSerializer>, std::1::pair<ARayCastSemanticLidar *, carla::sensor::s11n::SemanticLidarSerializer>, std::1::pair<ARayCastLidar , carla::sensor::s11n::LidarSerializer>, std::__1::pair<ARssSensor , carla::sensor::s11n::NoopSerializer>, std::1::pair<ASceneCaptureCamera *, carla::sensor::s11n::ImageSerializer>, std::1::pair<ASemanticSegmentationCamera , carla::sensor::s11n::ImageSerializer>, std::__1::pair<FWorldObserver , carla::sensor::s11n::EpisodeStateSerializer> >::get<AInstanceSegmentationCamera >::type' (aka 'void') is not a class, namespace, or enumeration carla::sensor::SensorRegistry::get<TSensor >::type::header_offset, ^ /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/InstanceSegmentationCamera.cpp:65:17: note: in instantiation of function template specialization 'FPixelReader::SendPixelsInRenderThread<AInstanceSegmentationCamera, FColor>' requested here FPixelReader::SendPixelsInRenderThread<AInstanceSegmentationCamera, FColor>(this); In file included from /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/Carla/Module.Carla.2_of_4.cpp:2: In file included from /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/MapGen/SoilTypeManager.cpp:3: In file included from /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/MapGen/SoilTypeManager.h:7: In file included from /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/MapGen/LargeMapManager.h:8: In file included from /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Actor/CarlaActor.h:10: In file included from /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Actor/ActorData.h:16: In file included from /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/DataStream.h:9: In file included from /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/AsyncDataStream.h:12: In file included from /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/CarlaDependencies/include/carla/sensor/SensorRegistry.h:10: /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/CarlaDependencies/include/carla/sensor/CompositeSerializer.h:83:12: error: type 'Serializer' (aka 'void') cannot be used prior to '::' because it has no members return Serializer::Serialize(sensor, std::forward(args)...);
^
/home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/AsyncDataStream.h:109:38: note: in instantiation of function template specialization 'carla::sensor::CompositeSerializer<std::__1::pair<ACollisionSensor , carla::sensor::s11n::CollisionEventSerializer>, std::1::pair<ADepthCamera *, carla::sensor::s11n::ImageSerializer>, std::1::pair<ADVSCamera , carla::sensor::s11n::DVSEventArraySerializer>, std::__1::pair<AGnssSensor , carla::sensor::s11n::GnssSerializer>, std::1::pair<AInertialMeasurementUnit *, carla::sensor::s11n::IMUSerializer>, std::1::pair<ALaneInvasionSensor , carla::sensor::s11n::NoopSerializer>, std::__1::pair<AObstacleDetectionSensor , carla::sensor::s11n::ObstacleDetectionEventSerializer>, std::1::pair<AOpticalFlowCamera *, carla::sensor::s11n::OpticalFlowImageSerializer>, std::1::pair<ARadar , carla::sensor::s11n::RadarSerializer>, std::__1::pair<ARayCastSemanticLidar , carla::sensor::s11n::SemanticLidarSerializer>, std::1::pair<ARayCastLidar *, carla::sensor::s11n::LidarSerializer>, std::1::pair<ARssSensor , carla::sensor::s11n::NoopSerializer>, std::__1::pair<ASceneCaptureCamera , carla::sensor::s11n::ImageSerializer>, std::1::pair<ASemanticSegmentationCamera *, carla::sensor::s11n::ImageSerializer>, std::1::pair<FWorldObserver , carla::sensor::s11n::EpisodeStateSerializer> >::Serialize<ARayCastLivoxLidar, carla::sensor::data::LivoxLidarData &, carla::Buffer>' requested here
carla::sensor::SensorRegistry::Serialize(Sensor, std::forward(Args)...));
^
/home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/RayCastLivoxLidar.cpp:68:20: note: in instantiation of function template specialization 'FAsyncDataStreamTmpl<carla::streaming::detail::Stream >::Send<ARayCastLivoxLidar, carla::sensor::data::LivoxLidarData &, carla::Buffer>' requested here
DataStream.Send( this, LivoxLidarData, DataStream.PopBufferFromPool());
In file included from /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/Carla/Module.Carla.2_of_4.cpp:5:
In file included from /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/OpenDrive/OpenDrive.cpp:9:
In file included from /home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Game/CarlaGameModeBase.h:24:
/home/appuser/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/SceneCaptureSensor.h:517:62: error: 'carla::sensor::detail::CompileTimeTypeMapImpl<15, std::1::pair<ACollisionSensor *, carla::sensor::s11n::CollisionEventSerializer>, std::1::pair<ADepthCamera , carla::sensor::s11n::ImageSerializer>, std::__1::pair<ADVSCamera , carla::sensor::s11n::DVSEventArraySerializer>, std::1::pair<AGnssSensor *, carla::sensor::s11n::GnssSerializer>, std::1::pair<AInertialMeasurementUnit , carla::sensor::s11n::IMUSerializer>, std::__1::pair<ALaneInvasionSensor , carla::sensor::s11n::NoopSerializer>, std::1::pair<AObstacleDetectionSensor *, carla::sensor::s11n::ObstacleDetectionEventSerializer>, std::1::pair<AOpticalFlowCamera , carla::sensor::s11n::OpticalFlowImageSerializer>, std::__1::pair<ARadar , carla::sensor::s11n::RadarSerializer>, std::1::pair<ARayCastSemanticLidar *, carla::sensor::s11n::SemanticLidarSerializer>, std::1::pair<ARayCastLidar , carla::sensor::s11n::LidarSerializer>, std::__1::pair<ARssSensor , carla::sensor::s11n::NoopSerializer>, std::1::pair<ASceneCaptureCamera *, carla::sensor::s11n::ImageSerializer>, std::1::pair<ASemanticSegmentationCamera , carla::sensor::s11n::ImageSerializer>, std::__1::pair<FWorldObserver , carla::sensor::s11n::EpisodeStateSerializer> >::get<FCameraGBufferUint8 >::type' (aka 'void') is not a class, namespace, or enumeration
carla::sensor::SensorRegistry::get<CameraGBufferT>::type::header_offset,