streams.log 4.0 KB

1234567891011121314151617181920212223242526272829
  1. [0.005s] 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.031s] Consolidate compiler generated dependencies of target g29_ros2_feedback_node
  3. [0.046s] [ 25%] Building CXX object CMakeFiles/g29_ros2_feedback_node.dir/src/joystick.cpp.o
  4. [1.411s] 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.411s] /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.411s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.h:57: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.411s] 57 | std::string filename; // 设备文件名
  8. [1.411s] | ^~~~~~~~
  9. [1.411s] /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.411s] 39 | : filename(filename), Node(node_name) // 初始化成员变量 filename
  11. [1.411s] | ^
  12. [1.411s] /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.412s] 38 | Joystick_pub::Joystick_pub(const std::string &filename, const std::string &node_name)
  14. [1.412s] | ^~~~~~~~~~~~
  15. [1.421s] /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.421s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:160:12: error: expected ‘;’ before ‘g29_publisher’
  17. [1.421s] 160 | message
  18. [1.421s] | ^
  19. [1.421s] | ;
  20. [1.421s] ......
  21. [1.421s] 195 | g29_publisher->publish(message);
  22. [1.421s] | ~~~~~~~~~~~~~
  23. [1.421s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:160:5: warning: statement has no effect []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-value-Wunused-value]8;;]
  24. [1.421s] 160 | message
  25. [1.421s] | ^~~~~~~
  26. [1.884s] gmake[2]: *** [CMakeFiles/g29_ros2_feedback_node.dir/build.make:90:CMakeFiles/g29_ros2_feedback_node.dir/src/joystick.cpp.o] 错误 1
  27. [1.885s] gmake[1]: *** [CMakeFiles/Makefile2:137:CMakeFiles/g29_ros2_feedback_node.dir/all] 错误 2
  28. [1.885s] gmake: *** [Makefile:146:all] 错误 2
  29. [1.886s] 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