Error with colcon build of zed-wrapper

Good Morning, i have this problem with zed-wrapper package.

Conf.
Ubuntu 22.04 - WSL2
ROS 2 Humble
SDK (on windows) 4.0.8
zed-ros2-wrapper got from git clone --recursive GitHub - stereolabs/zed-ros2-wrapper: ROS 2 wrapper for the ZED SDK

I have this error and can’t build zed-wrapper. Had some problems with zed-component but i fixed it with the installation of the right version of CUDA and SDK but can’t figure out of this.

Finished <<< zed_components [1min 14s]
Starting >>> zed_wrapper
[Processing: zed_wrapper]
stderr: zed_wrapper
In file included from /home/vinz/defender_ws/install/zed_components/include/zed_components/zed_camera_component.hpp:19,
                 from /home/vinz/defender_ws/src/zed-ros2-wrapper/zed_wrapper/src/zed_wrapper.cpp:17:
/mnt/c/Program Files (x86)/ZED SDK/include/sl/Fusion.hpp:68:64: note: ‘#pragma message: ~ FUSION SDK is distributed in Early Access ~’
   68 | #pragma message("~ FUSION SDK is distributed in Early Access ~")
      |                                                                ^
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::FusedPointCloud::getNumberOfPoints()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::~Camera()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::GNSSData::setCoordinates(double, double, double, bool)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Mat::~Mat()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Vector4<unsigned char>* sl::Mat::getPtr<sl::Vector4<unsigned char> >(sl::MEM) const'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::getSDKVersion()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::retrieveSpatialMapAsync(sl::FusedPointCloud&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::toString(sl::OBJECT_CLASS const&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Fusion::getPosition(sl::Pose&, sl::REFERENCE_FRAME, sl::CameraIdentifier, sl::POSITION_TYPE)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::GeoConverter::latlng2ecef(sl::LatLng&, sl::ECEF&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Matrix3f::setIdentity()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Plane::getExtents()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::toString(sl::POSITIONAL_TRACKING_STATE const&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::ObjectData::~ObjectData()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::enableSpatialMapping(sl::SpatialMappingParameters)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::CalibrationParameters::getCameraBaseline()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::SpatialMappingParameters::allowed_range'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Transform::Transform()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Fusion::subscribe(sl::CameraIdentifier, sl::CommunicationParameters, sl::Transform)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `float* sl::Mat::getPtr<float>(sl::MEM) const'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Plane::extractMesh()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::String::~String()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::getSVONumberOfFrames()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Matrix4f::identity()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Transform::getTranslation() const'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Fusion::init(sl::InitFusionParameters)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Orientation::getRotationMatrix() const'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::getSVOPosition()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::disableRecording()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::getPosition(sl::Pose&, sl::REFERENCE_FRAME)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::getRecordingStatus()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::LatLng::getLatitude(bool) const'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::toString(sl::MODEL const&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::String::operator=(char const*)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::Camera()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::RecordingStatus::RecordingStatus()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::open(sl::InitParameters)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::toString(sl::FUSION_ERROR_CODE const&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Matrix3f::operator*(float const&) const'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::SpatialMappingParameters::SpatialMappingParameters(sl::SpatialMappingParameters::MAPPING_RESOLUTION, sl::SpatialMappingParameters::MAPPING_RANGE, int, bool, bool, bool, sl::SpatialMappingParameters::SPATIAL_MAP_TYPE, int)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::ERROR_CODE sl::Mat::setValue<unsigned char>(unsigned long, unsigned long, unsigned char, sl::MEM)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Vector4<float>* sl::Mat::getPtr<sl::Vector4<float> >(sl::MEM) const'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Transform::setTranslation(sl::Translation const&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::retrieveObjects(sl::Objects&, sl::ObjectDetectionRuntimeParameters, unsigned int)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Plane::getBounds()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::ERROR_CODE sl::Mat::setTo<unsigned char>(unsigned char, sl::MEM)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Matrix4f::setIdentity()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::getCameraSettings(sl::VIDEO_SETTINGS, int&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Mesh::getNumberOfTriangles()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::BodyTrackingRuntimeParameters::BodyTrackingRuntimeParameters(float, int, float)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::PositionalTrackingParameters::PositionalTrackingParameters(sl::Transform, bool, bool, sl::String, bool, bool, bool, float, bool, sl::POSITIONAL_TRACKING_MODE)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::SpatialMappingParameters::allowed_resolution'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::getSensorsData(sl::SensorsData&, sl::TIME_REFERENCE)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::InitParameters::InitParameters(sl::RESOLUTION, int, bool, sl::DEPTH_MODE, sl::UNIT, sl::COORDINATE_SYSTEM, bool, int, float, float, bool, int, bool, sl::String, int, CUctx_st*, sl::InputType, sl::String, bool, bool, sl::String, float, bool, float, bool)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::String::String(sl::String const&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::ObjectDetectionParameters::ObjectDetectionParameters(bool, bool, bool, sl::OBJECT_DETECTION_MODEL, float, sl::BatchParameters, sl::OBJECT_FILTERING_MODE, float, bool, unsigned int)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::disableObjectDetection(unsigned int, bool)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::String::c_str() const'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::BodyTrackingParameters::BodyTrackingParameters(bool, bool, bool, sl::BODY_TRACKING_MODEL, bool, float, sl::BODY_FORMAT, sl::BODY_KEYPOINTS_SELECTION, float, bool, unsigned int)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::FusedPointCloud::FusedPointCloud()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::disableBodyTracking(unsigned int, bool)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::LatLng::getLongitude(bool) const'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::LatLng::setCoordinates(double, double, double, bool)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Fusion::getGeoPose(sl::GeoPose&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Fusion::process()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::toString(sl::ERROR_CODE const&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Matrix3f::getInfos()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Matrix3f::Matrix3f()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Plane::~Plane()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Pose::Pose()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Pose::~Pose()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Vector2<float>* sl::Mat::getPtr<sl::Vector2<float> >(sl::MEM) const'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Pose::Pose(sl::Transform const&, unsigned long long, int)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::toString(sl::OBJECT_FILTERING_MODE const&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::toString(sl::RESOLUTION const&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::requestSpatialMapAsync()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::toString(sl::BODY_KEYPOINTS_SELECTION const&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::enableRecording(sl::RecordingParameters)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Fusion::~Fusion()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::InputType::InputType(sl::InputType const&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Vector3<unsigned char>* sl::Mat::getPtr<sl::Vector3<unsigned char> >(sl::MEM) const'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::BodyData::~BodyData()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::toString(sl::DEPTH_MODE const&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::retrieveImage(sl::Mat&, sl::VIEW, sl::MEM, sl::Resolution)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::toString(sl::OBJECT_SUBCLASS const&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Plane::getPose()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::String::String(char const*)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::toString(sl::GNSS_CALIBRATION_STATE const&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Transform::setOrientation(sl::Orientation const&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Mesh::~Mesh()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::InputType::setFromCameraID(int, sl::BUS_TYPE)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Matrix3f::operator+(sl::Matrix3f const&) const'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::toString(sl::VIDEO_SETTINGS const&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Fusion::enablePositionalTracking(sl::PositionalTrackingFusionParameters)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::SensorsData::SensorsData()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::GeoConverter::latlng2utm(sl::LatLng&, sl::UTM&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Translation::operator()(int)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::toString(sl::SVO_COMPRESSION_MODE const&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Pose::getTranslation()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Orientation::operator()(int)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::InputType::setFromStream(sl::String, unsigned short)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::InputType::setFromSVOFile(sl::String)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::toString(sl::INPUT_TYPE const&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::String::operator=(sl::String const&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Transform::getOrientation() const'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::disableSpatialMapping()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::LatLng::getAltitude() const'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::isPositionalTrackingEnabled()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Mat::Mat()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::getSpatialMapRequestStatusAsync()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Transform::Transform(sl::Matrix4f const&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::setCameraSettings(sl::VIDEO_SETTINGS, int)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `unsigned char* sl::Mat::getPtr<unsigned char>(sl::MEM) const'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Matrix4f::getInfos()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Fusion::Fusion()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::startPublishing(sl::CommunicationParameters)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Plane::Plane()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::toString(sl::BODY_TRACKING_MODEL const&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Mat::operator=(sl::Mat const&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::CommunicationParameters::CommunicationParameters()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::InitFusionParameters::InitFusionParameters(sl::UNIT, sl::COORDINATE_SYSTEM, bool, bool, unsigned int)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::grab(sl::RuntimeParameters)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::String::String()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::enablePositionalTracking(sl::PositionalTrackingParameters)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::ObjectDetectionRuntimeParameters::ObjectDetectionRuntimeParameters(float, std::vector<sl::OBJECT_CLASS, std::allocator<sl::OBJECT_CLASS> >, std::map<sl::OBJECT_CLASS, float, std::less<sl::OBJECT_CLASS>, std::allocator<std::pair<sl::OBJECT_CLASS const, float> > >)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::String::get() const'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::toString(sl::POSITIONAL_TRACKING_MODE const&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::GeoPose::GeoPose()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::enableObjectDetection(sl::ObjectDetectionParameters)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Plane::getNormal()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::retrieveMeasure(sl::Mat&, sl::MEASURE, sl::MEM, sl::Resolution)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::SpatialMappingParameters::getRecommendedRange(float, sl::Camera&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Matrix3f::Matrix3f(float*)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::CommunicationParameters::setForSharedMemory()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::disablePositionalTracking(sl::String)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::BatchParameters::BatchParameters(bool, float, float)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `cuCtxGetDevice'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Plane::getPlaneEquation()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::RuntimeParameters::RuntimeParameters(bool, bool, int, int, sl::REFERENCE_FRAME, bool)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Mat::Mat(sl::Mat const&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Vector3<float>* sl::Mat::getPtr<sl::Vector3<float> >(sl::MEM) const'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Translation::Translation()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::enableBodyTracking(sl::BodyTrackingParameters)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Transform::Transform(sl::Transform const&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::getTimestamp(sl::TIME_REFERENCE)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::RecordingParameters::RecordingParameters(sl::String, sl::SVO_COMPRESSION_MODE, unsigned int, unsigned int, bool)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Pose::getOrientation()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::FusedPointCloud::~FusedPointCloud()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::SensorsData::TemperatureData::get(sl::SensorsData::TemperatureData::SENSOR_LOCATION, float&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::setRegionOfInterest(sl::Mat&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Orientation::Orientation(sl::Vector4<float> const&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::retrieveBodies(sl::Bodies&, sl::BodyTrackingRuntimeParameters, unsigned int)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Fusion::Geo2Camera(sl::LatLng&, sl::Pose&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Fusion::ingestGNSSData(sl::GNSSData)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::getCameraInformation(sl::Resolution)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::getCurrentMinMaxDepth(float&, float&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::getInitParameters()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::InputType::setFromSerialNumber(unsigned int, sl::BUS_TYPE)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Camera::findPlaneAtHit(sl::Vector2<unsigned int>, sl::Plane&, sl::PlaneDetectionParameters)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Mat::getStepBytes(sl::MEM) const'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Mat::Mat(sl::Resolution, sl::MAT_TYPE, sl::MEM)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Plane::getCenter()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::InputType::InputType()'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::toString(sl::BODY_FORMAT const&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::toString(sl::OBJECT_DETECTION_MODEL const&)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Transform::getRotationMatrix() const'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Translation::Translation(sl::Vector3<float>)'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Vector2<unsigned char>* sl::Mat::getPtr<sl::Vector2<unsigned char> >(sl::MEM) const'
/usr/bin/ld: /home/vinz/defender_ws/install/zed_components/lib/libzed_camera_component.so: undefined reference to `sl::Fusion::Camera2Geo(sl::Pose const&, sl::GeoPose&)'
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/zed_wrapper.dir/build.make:446: zed_wrapper] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:164: CMakeFiles/zed_wrapper.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2

Failed   <<< zed_wrapper [38.5s, exited with code 2]

Hi @VincenzoRino
Welcome to the Stereolabs community.

It seems that the linker cannot find the ZED SDK libraries.
Is it correctly installed?

Yes, it’s installed in Windows. I tried also to install it in ubuntu but nothing changes

WSL and Windows are two separated environments.
You must install the ZED SDK for the Ubuntu 22.04 OS running in WSL.
Please try to install it again.

Seems working now, thanks.

1 Like