24navigation/log/build_2024-03-04_22-26-12/pcdmap2pgm/streams.log

4.3 KiB
Raw Blame History

[0.134s] Invoking command in '/home/firmament/codes/24navigation/build/pcdmap2pgm': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/firmament/codes/24navigation/build/pcdmap2pgm -- -j8 -l8
[0.194s] Consolidate compiler generated dependencies of target convert_pcd2pgm
[0.229s] [ 50%] Building CXX object CMakeFiles/convert_pcd2pgm.dir/src/pcd2pgm.cpp.o
[3.515s] /home/firmament/codes/24navigation/src/pcdmap2pgm/src/pcd2pgm.cpp: In function int main(int, char**):
[3.515s] /home/firmament/codes/24navigation/src/pcdmap2pgm/src/pcd2pgm.cpp:102:24: error: no matching function for call to rclcpp::Node::get_parameter(const char [15], std::string&, std::string)
[3.515s] 102 | node->get_parameter("map_topic_name", map_topic_name, std::string("map"));
[3.515s] | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[3.515s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[3.515s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[3.515s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[3.515s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[3.515s] from /home/firmament/codes/24navigation/src/pcdmap2pgm/src/pcd2pgm.cpp:1:
[3.515s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:286:1: note: candidate: template<class ParameterT> bool rclcpp::Node::get_parameter(const string&, ParameterT&) const
[3.515s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[3.515s] | ^~~~
[3.515s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:286:1: note: template argument deduction/substitution failed:
[3.515s] /home/firmament/codes/24navigation/src/pcdmap2pgm/src/pcd2pgm.cpp:102:24: note: candidate expects 2 arguments, 3 provided
[3.515s] 102 | node->get_parameter("map_topic_name", map_topic_name, std::string("map"));
[3.515s] | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[3.515s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[3.515s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[3.515s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[3.516s] from /home/firmament/codes/24navigation/src/pcdmap2pgm/src/pcd2pgm.cpp:1:
[3.516s] /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:647:3: note: candidate: rclcpp::Parameter rclcpp::Node::get_parameter(const string&) const
[3.516s] 647 | get_parameter(const std::string & name) const;
[3.516s] | ^~~~~~~~~~~~~
[3.516s] /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:647:3: note: candidate expects 1 argument, 3 provided
[3.516s] /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:666:3: note: candidate: bool rclcpp::Node::get_parameter(const string&, rclcpp::Parameter&) const
[3.516s] 666 | get_parameter(const std::string & name, rclcpp::Parameter & parameter) const;
[3.516s] | ^~~~~~~~~~~~~
[3.516s] /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:666:3: note: candidate expects 2 arguments, 3 provided
[4.237s] gmake[2]: *** [CMakeFiles/convert_pcd2pgm.dir/build.make:76: CMakeFiles/convert_pcd2pgm.dir/src/pcd2pgm.cpp.o] Error 1
[4.237s] gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/convert_pcd2pgm.dir/all] Error 2
[4.237s] gmake: *** [Makefile:146: all] Error 2
[4.239s] Invoked command in '/home/firmament/codes/24navigation/build/pcdmap2pgm' returned '2': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/firmament/codes/24navigation/build/pcdmap2pgm -- -j8 -l8