24navigation/log/build_2024-03-24_20-32-15/plc_bringup/stdout_stderr.log

69 lines
6.2 KiB
Plaintext
Raw Normal View History

2024-03-24 21:24:39 +08:00
-- Found ament_cmake: 1.3.8 (/opt/ros/humble/share/ament_cmake/cmake)
-- Override CMake install command with custom implementation using symlinks instead of copying resources
-- Found nav2_common: 1.1.13 (/opt/ros/humble/share/nav2_common/cmake)
-- Found navigation2: 1.1.13 (/opt/ros/humble/share/navigation2/cmake)
-- Found ament_cmake_auto: 1.3.8 (/opt/ros/humble/share/ament_cmake_auto/cmake)
-- Found rclcpp: 16.0.8 (/opt/ros/humble/share/rclcpp/cmake)
-- Found rosidl_generator_c: 3.1.5 (/opt/ros/humble/share/rosidl_generator_c/cmake)
-- Found rosidl_adapter: 3.1.5 (/opt/ros/humble/share/rosidl_adapter/cmake)
-- Found rosidl_generator_cpp: 3.1.5 (/opt/ros/humble/share/rosidl_generator_cpp/cmake)
-- Using all available rosidl_typesupport_c: rosidl_typesupport_fastrtps_c;rosidl_typesupport_introspection_c
-- Using all available rosidl_typesupport_cpp: rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_introspection_cpp
-- Found rmw_implementation_cmake: 6.1.1 (/opt/ros/humble/share/rmw_implementation_cmake/cmake)
-- Found rmw_fastrtps_cpp: 6.2.6 (/opt/ros/humble/share/rmw_fastrtps_cpp/cmake)
-- Using RMW implementation 'rmw_fastrtps_cpp' as default
-- Found geometry_msgs: 4.2.3 (/opt/ros/humble/share/geometry_msgs/cmake)
-- Found ament_lint_auto: 0.12.10 (/opt/ros/humble/share/ament_lint_auto/cmake)
-- Added test 'copyright' to check source files copyright and LICENSE
-- Added test 'cppcheck' to perform static code analysis on C / C++ code
-- Configured cppcheck include dirs:
-- Configured cppcheck exclude dirs and/or files:
-- Added test 'cpplint' to check C / C++ code against the Google style
-- Configured cpplint exclude dirs and/or files:
-- Added test 'flake8' to check Python code syntax and style conventions
-- Added test 'lint_cmake' to check CMake code style
-- Added test 'pep257' to check Python code against some of the docstring style conventions in PEP 257
-- Added test 'uncrustify' to check C / C++ code style
-- Configured uncrustify additional arguments:
-- Added test 'xmllint' to check XML markup files
-- Configuring done
-- Generating done
-- Build files have been written to: /home/firmament/codes/24navigation/build/plc_bringup
Consolidate compiler generated dependencies of target decision_move_node
[ 50%] Building CXX object CMakeFiles/decision_move_node.dir/src/decision_move_node.cpp.o
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:34:74: error: std_msgs::msg::Int8_<std::allocator<void> >::ConstPtr is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Werror=deprecated-declarations]8;;]
34 | d game_progress_callback(const std_msgs::msg::Int8::ConstPtr& game_pro)
| ^
In file included from /opt/ros/humble/include/std_msgs/std_msgs/msg/int8.hpp:7,
from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:5:
/opt/ros/humble/include/std_msgs/std_msgs/msg/detail/int8__struct.hpp:105:5: note: declared here
105 | ConstPtr;
| ^~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:46:73: error: std_msgs::msg::Int16_<std::allocator<void> >::ConstPtr is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Werror=deprecated-declarations]8;;]
46 | id outposthp_callback(const std_msgs::msg::Int16::ConstPtr& outpost_hp)
| ^
In file included from /opt/ros/humble/include/std_msgs/std_msgs/msg/int16.hpp:7,
from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:6:
/opt/ros/humble/include/std_msgs/std_msgs/msg/detail/int16__struct.hpp:105:5: note: declared here
105 | ConstPtr;
| ^~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:57:83: error: geometry_msgs::msg::PoseStamped_<std::allocator<void> >::ConstPtr is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Werror=deprecated-declarations]8;;]
57 | md_callback(const geometry_msgs::msg::PoseStamped::ConstPtr& arial_cmd)
| ^
In file included from /opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/pose_stamped.hpp:7,
from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:8:
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/detail/pose_stamped__struct.hpp:115:5: note: declared here
115 | ConstPtr;
| ^~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: In function int main(int, char**):
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:132:9: error: variable choice set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Werror=unused-but-set-variable]8;;]
132 | char choice = 'q';
| ^~~~~~
cc1plus: all warnings being treated as errors
gmake[2]: *** [CMakeFiles/decision_move_node.dir/build.make:76: CMakeFiles/decision_move_node.dir/src/decision_move_node.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/decision_move_node.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2