Consolidate compiler generated dependencies of target icp_registration [ 50%] Built target icp_registration_node [ 75%] Building CXX object CMakeFiles/icp_registration.dir/src/icp_registration.cpp.o In file included from /opt/ros/humble/include/rclcpp/rclcpp/logging.hpp:24, from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40, from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24, from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20, from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25, from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18, from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20, from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37, from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25, from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21, from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155, from /home/firmament/codes/24navigation/src/icp_registration/include/icp_registration/icp_registration.hpp:11, from /home/firmament/codes/24navigation/src/icp_registration/src/icp_registration.cpp:1: /home/firmament/codes/24navigation/src/icp_registration/src/icp_registration.cpp: In member function ‘void icp::IcpNode::initialPoseCallback(geometry_msgs::msg::PoseWithCovarianceStamped_ >::SharedPtr)’: /home/firmament/codes/24navigation/src/icp_registration/src/icp_registration.cpp:187:78: error: ‘class Eigen::MatrixBase >’ has no member named ‘toString’ 187 | s->get_logger(), "map_to_laser:\n%s", map_to_laser.matrix().toString().c_str()); | ^~~~~~~~ /home/firmament/codes/24navigation/src/icp_registration/src/icp_registration.cpp:220:80: error: ‘class Eigen::MatrixBase >’ has no member named ‘toString’ 220 | >get_logger(), "laser_to_odom:\n%s", laser_to_odom.matrix().toString().c_str()); | ^~~~~~~~ gmake[2]: *** [CMakeFiles/icp_registration.dir/build.make:76: CMakeFiles/icp_registration.dir/src/icp_registration.cpp.o] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:139: CMakeFiles/icp_registration.dir/all] Error 2 gmake: *** [Makefile:146: all] Error 2