streams.log 3.5 KB

12345678910111213141516171819202122
  1. [0.007s] Invoking command in '/home/wub/work/1_nzzn/2_code/13_LG/build/g29_ros2_feedback': CMAKE_PREFIX_PATH=/home/wub/work/1_nzzn/2_code/13_LG/install/g29_msg:/home/wub/work/1_nzzn/2_code/13_LG/install/g29_ros2_feedback:/opt/ros/humble /usr/bin/cmake --build /home/wub/work/1_nzzn/2_code/13_LG/build/g29_ros2_feedback -- -j12 -l12
  2. [0.035s] Consolidate compiler generated dependencies of target g29_ros2_feedback_node
  3. [0.048s] [ 25%] Building CXX object CMakeFiles/g29_ros2_feedback_node.dir/src/joystick.cpp.o
  4. [1.497s] In file included from /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:34:
  5. [1.497s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.h: In constructor ‘Joystick_pub::Joystick_pub(const string&, const string&)’:
  6. [1.497s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.h:56:17: warning: ‘Joystick_pub::filename’ will be initialized after []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wreorder-Wreorder]8;;]
  7. [1.497s] 56 | std::string filename; // 设备文件名
  8. [1.497s] | ^~~~~~~~
  9. [1.497s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:39:41: warning:  base ‘rclcpp::Node’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wreorder-Wreorder]8;;]
  10. [1.497s] 39 | : filename(filename), Node(node_name) // 初始化成员变量 filename
  11. [1.497s] | ^
  12. [1.497s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:38:1: warning:  when initialized here []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wreorder-Wreorder]8;;]
  13. [1.497s] 38 | Joystick_pub::Joystick_pub(const std::string &filename, const std::string &node_name)
  14. [1.497s] | ^~~~~~~~~~~~
  15. [1.507s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp: In member function ‘void Joystick_pub::publish()’:
  16. [1.507s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:158:20: error: ‘sensor_msgs’ has not been declared
  17. [1.507s] 158 | auto message = sensor_msgs::msg::Joy();
  18. [1.508s] | ^~~~~~~~~~~
  19. [1.988s] gmake[2]: *** [CMakeFiles/g29_ros2_feedback_node.dir/build.make:90:CMakeFiles/g29_ros2_feedback_node.dir/src/joystick.cpp.o] 错误 1
  20. [1.988s] gmake[1]: *** [CMakeFiles/Makefile2:137:CMakeFiles/g29_ros2_feedback_node.dir/all] 错误 2
  21. [1.988s] gmake: *** [Makefile:146:all] 错误 2
  22. [1.989s] Invoked command in '/home/wub/work/1_nzzn/2_code/13_LG/build/g29_ros2_feedback' returned '2': CMAKE_PREFIX_PATH=/home/wub/work/1_nzzn/2_code/13_LG/install/g29_msg:/home/wub/work/1_nzzn/2_code/13_LG/install/g29_ros2_feedback:/opt/ros/humble /usr/bin/cmake --build /home/wub/work/1_nzzn/2_code/13_LG/build/g29_ros2_feedback -- -j12 -l12