Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

6 Error during running make launch #8

Open
zsungi opened this issue Sep 21, 2023 · 1 comment
Open

6 Error during running make launch #8

zsungi opened this issue Sep 21, 2023 · 1 comment

Comments

@zsungi
Copy link

zsungi commented Sep 21, 2023

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::Streamcarla::streaming::detail::MultiStreamState >::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,

@IKAROS93
Copy link
Owner

IKAROS93 commented Sep 21, 2023

  1. First, check if your CARLA version is correct, and whether it's 0.9.12;
  2. Make sure that "make launch" succeeds and can run the UE editor without you having modified or overwritten any files;
  3. Ensure that you have overwritten all the correct files;
  4. Take a look at existing issue reports; they might be helpful for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants