2.2 KiB
2.2 KiB
[0.077s] 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.205s] [ 20%] Built target laserscan_to_pointcloud_node
[0.205s] [ 40%] Built target laserscan_to_pointcloud
[0.205s] [ 60%] Built target pointcloud_to_laserscan_node
[0.227s] [ 70%] Building CXX object CMakeFiles/pointcloud_to_laserscan.dir/src/pointcloud_to_laserscan_node.cpp.o
[3.578s] /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.578s] /home/firmament/codes/24navigation/src/pointcloud_to_laserscan/src/pointcloud_to_laserscan_node.cpp:68:30: error: declaration of ‘rclcpp::PublisherOptions options’ shadows a parameter
[3.578s] 68 | rclcpp::PublisherOptions options;
[3.578s] | ^~~~~~~
[3.578s] /home/firmament/codes/24navigation/src/pointcloud_to_laserscan/src/pointcloud_to_laserscan_node.cpp:60:82: note: ‘const rclcpp::NodeOptions& options’ previously declared here
[3.578s] 60 | canNode::PointCloudToLaserScanNode(const rclcpp::NodeOptions & options)
[3.578s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
[3.578s]
[6.190s] 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.190s] gmake[1]: *** [CMakeFiles/Makefile2:197: CMakeFiles/pointcloud_to_laserscan.dir/all] Error 2
[6.190s] gmake: *** [Makefile:146: all] Error 2
[6.192s] 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
[0.205s] [ 20%] Built target laserscan_to_pointcloud_node
[0.205s] [ 40%] Built target laserscan_to_pointcloud
[0.205s] [ 60%] Built target pointcloud_to_laserscan_node
[0.227s] [ 70%] Building CXX object CMakeFiles/pointcloud_to_laserscan.dir/src/pointcloud_to_laserscan_node.cpp.o
[3.578s] /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.578s] /home/firmament/codes/24navigation/src/pointcloud_to_laserscan/src/pointcloud_to_laserscan_node.cpp:68:30: error: declaration of ‘rclcpp::PublisherOptions options’ shadows a parameter
[3.578s] 68 | rclcpp::PublisherOptions options;
[3.578s] | ^~~~~~~
[3.578s] /home/firmament/codes/24navigation/src/pointcloud_to_laserscan/src/pointcloud_to_laserscan_node.cpp:60:82: note: ‘const rclcpp::NodeOptions& options’ previously declared here
[3.578s] 60 | canNode::PointCloudToLaserScanNode(const rclcpp::NodeOptions & options)
[3.578s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
[3.578s]
[6.190s] 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.190s] gmake[1]: *** [CMakeFiles/Makefile2:197: CMakeFiles/pointcloud_to_laserscan.dir/all] Error 2
[6.190s] gmake: *** [Makefile:146: all] Error 2
[6.192s] 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