[0.107s] Invoking command in '/home/firmament/codes/24navigation/build/pointcloud_to_laserscan': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/firmament/codes/24navigation/build/pointcloud_to_laserscan -- -j8 -l8 [0.228s] Consolidate compiler generated dependencies of target laserscan_to_pointcloud [0.268s] [ 20%] Built target pointcloud_to_laserscan_node [0.274s] [ 40%] Built target laserscan_to_pointcloud [0.281s] [ 60%] Built target laserscan_to_pointcloud_node [0.335s] [ 70%] Building CXX object CMakeFiles/pointcloud_to_laserscan.dir/src/pointcloud_to_laserscan_node.cpp.o [3.937s] /home/firmament/codes/24navigation/src/pointcloud_to_laserscan/src/pointcloud_to_laserscan_node.cpp: In constructor ‘pointcloud_to_laserscan::PointCloudToLaserScanNode::PointCloudToLaserScanNode(const rclcpp::NodeOptions&)’: [3.937s] /home/firmament/codes/24navigation/src/pointcloud_to_laserscan/src/pointcloud_to_laserscan_node.cpp:86:11: error: ‘class tf2_ros::Buffer’ has no member named ‘setTransformTolerance’ [3.937s] 86 | tf2_->setTransformTolerance(tf2::durationFromSec(tolerance_)) [3.937s] | ^~~~~~~~~~~~~~~~~~~~~ [3.945s] /home/firmament/codes/24navigation/src/pointcloud_to_laserscan/src/pointcloud_to_laserscan_node.cpp:90:35: error: ‘timer_interface’ was not declared in this scope [3.945s] 90 | tf2_->setCreateTimerInterface(timer_interface); [3.945s] | ^~~~~~~~~~~~~~~ [3.991s] /home/firmament/codes/24navigation/src/pointcloud_to_laserscan/src/pointcloud_to_laserscan_node.cpp: In member function ‘void pointcloud_to_laserscan::PointCloudToLaserScanNode::cloudCallback(sensor_msgs::msg::PointCloud2_ >::ConstSharedPtr)’: [3.991s] /home/firmament/codes/24navigation/src/pointcloud_to_laserscan/src/pointcloud_to_laserscan_node.cpp:183:60: error: no matching function for call to ‘tf2_ros::Buffer::getLatestCommonTime(std::string&, const _frame_id_type&)’ [3.991s] 183 | tf2::TimePoint transform_time = tf2_->getLatestCommonTime(target_frame_,cloud_msg->header.frame_id); [3.991s] | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [3.991s] In file included from /opt/ros/humble/include/tf2_ros/tf2_ros/async_buffer_interface.h:39, [3.991s] from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:41, [3.991s] from /home/firmament/codes/24navigation/src/pointcloud_to_laserscan/include/pointcloud_to_laserscan/pointcloud_to_laserscan_node.hpp:50, [3.991s] from /home/firmament/codes/24navigation/src/pointcloud_to_laserscan/src/pointcloud_to_laserscan_node.cpp:41: [3.991s] /opt/ros/humble/include/tf2/tf2/buffer_core.h:422:17: note: candidate: ‘tf2::TF2Error tf2::BufferCore::getLatestCommonTime(tf2::CompactFrameID, tf2::CompactFrameID, tf2::TimePoint&, std::string*) const’ [3.992s] 422 | tf2::TF2Error getLatestCommonTime( [3.992s] | ^~~~~~~~~~~~~~~~~~~ [3.993s] /opt/ros/humble/include/tf2/tf2/buffer_core.h:422:17: note:  candidate expects 4 arguments, 2 provided [3.995s] /home/firmament/codes/24navigation/src/pointcloud_to_laserscan/src/pointcloud_to_laserscan_node.cpp:184:33: error: ‘timeToROSMsg’ is not a member of ‘tf2’ [3.995s] 184 | scan_msg->header.stamp = tf2::timeToROSMsg(transform_time); [3.995s] | ^~~~~~~~~~~~ [6.529s] gmake[2]: *** [CMakeFiles/pointcloud_to_laserscan.dir/build.make:76: CMakeFiles/pointcloud_to_laserscan.dir/src/pointcloud_to_laserscan_node.cpp.o] Error 1 [6.529s] gmake[1]: *** [CMakeFiles/Makefile2:197: CMakeFiles/pointcloud_to_laserscan.dir/all] Error 2 [6.529s] gmake: *** [Makefile:146: all] Error 2 [6.531s] Invoked command in '/home/firmament/codes/24navigation/build/pointcloud_to_laserscan' returned '2': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/firmament/codes/24navigation/build/pointcloud_to_laserscan -- -j8 -l8