rsasaki0109 / li_slam_ros2

ROS 2 package of tightly-coupled lidar inertial ndt/gicp slam
BSD 2-Clause "Simplified" License
316 stars 42 forks source link

Issue in building the package #36

Open ibra860 opened 2 months ago

ibra860 commented 2 months ago

I encountered the following issue while compiling:

ROS2 Humble

/home/ibrahim/ros2_ws/src/li_slam_ros2/scanmatcher/src/image_projection.cpp:258:30: error: no matching function for call to ‘moveFromROSMsg(sensor_msgs::msg::PointCloud2&, std::__shared_ptr_access<pcl::PointCloud<OusterPointXYZIRT>, __gnu_cxx::_S_atomic, false, false>::element_type&)’
  258 |           pcl::moveFromROSMsg(currentCloudMsg, *tmpOusterCloudIn);

I tried with booth versions 4.1 & 4.2 but non of them resolved the issue sudo add-apt-repository ppa:borglab/gtsam-release-4.1

rsasaki0109 commented 2 months ago

It might be related to the issue below. The location of the function might have changed due to the version update of a related package. https://github.com/rsasaki0109/lidarslam_ros2/issues/97