紧急通知:禁止一切关于政治&VPN翻墙等话题,发现相关帖子会立马删除封号
小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
micro_ros国外源下载错误
-
我人在海外,在小鱼的教程中2.你的第一个MicroROS节点
使用的源是lib_deps = https://gitee.com/ohhuo/micro_ros_platformio.git
我在想使用github上的官方源
https://github.com/micro-ROS/micro_ros_platformio.git
但是vscode克隆这个库出现了错误,错误如下
Building micro-ROS library Build mcu micro-ROS environment failed: --- stderr: rcl_logging_interface CMake Warning at /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:116 (message): Package 'rcutils' exports library 'dl' which couldn't be found Call Stack (most recent call first): /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/rcutilsConfig.cmake:41 (include) CMakeLists.txt:20 (find_package) --- --- stderr: rosidl_runtime_c CMake Warning at /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:116 (message): Package 'rcutils' exports library 'dl' which couldn't be found Call Stack (most recent call first): /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/rcutilsConfig.cmake:41 (include) CMakeLists.txt:15 (find_package) --- --- stderr: rosidl_dynamic_typesupport CMake Warning at /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:116 (message): Package 'rcutils' exports library 'dl' which couldn't be found Call Stack (most recent call first): /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/rcutilsConfig.cmake:41 (include) CMakeLists.txt:26 (find_package) --- --- stderr: rcl_logging_noop CMake Warning at /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:116 (message): Package 'rcutils' exports library 'dl' which couldn't be found Call Stack (most recent call first): /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/rcutilsConfig.cmake:41 (include) /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rcl_logging_interface/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package) /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rcl_logging_interface/cmake/rcl_logging_interfaceConfig.cmake:41 (include) CMakeLists.txt:16 (find_package) --- --- stderr: rmw CMake Warning at /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:116 (message): Package 'rcutils' exports library 'dl' which couldn't be found Call Stack (most recent call first): /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/rcutilsConfig.cmake:41 (include) CMakeLists.txt:22 (find_package) --- --- stderr: rosidl_typesupport_microxrcedds_c CMake Warning at /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:116 (message): Package 'rcutils' exports library 'dl' which couldn't be found Call Stack (most recent call first): /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/rcutilsConfig.cmake:41 (include) /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rosidl_runtime_c/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package) /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rosidl_runtime_c/cmake/rosidl_runtime_cConfig.cmake:41 (include) CMakeLists.txt:22 (find_package) --- --- stderr: micro_ros_utilities CMake Warning at /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:116 (message): Package 'rcutils' exports library 'dl' which couldn't be found Call Stack (most recent call first): /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/rcutilsConfig.cmake:41 (include) /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rosidl_runtime_c/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package) /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rosidl_runtime_c/cmake/rosidl_runtime_cConfig.cmake:41 (include) /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rosidl_typesupport_introspection_c/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package) /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rosidl_typesupport_introspection_c/cmake/rosidl_typesupport_introspection_cConfig.cmake:41 (include) CMakeLists.txt:18 (find_package) --- --- stderr: rosidl_typesupport_c CMake Warning at /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:116 (message): Package 'rcutils' exports library 'dl' which couldn't be found Call Stack (most recent call first): /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/rcutilsConfig.cmake:41 (include) CMakeLists.txt:34 (find_package) --- --- stderr: builtin_interfaces CMake Warning at /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:116 (message): Package 'rcutils' exports library 'dl' which couldn't be found Call Stack (most recent call first): /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rcutils/cmake/rcutilsConfig.cmake:41 (include) /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rosidl_runtime_c/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package) /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rosidl_runtime_c/cmake/rosidl_runtime_cConfig.cmake:41 (include) /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rosidl_typesupport_introspection_c/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package) /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rosidl_typesupport_introspection_c/cmake/rosidl_typesupport_introspection_cConfig.cmake:41 (include) /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rosidl_typesupport_c/cmake/rosidl_typesupport_c-extras.cmake:13 (find_package) /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rosidl_typesupport_c/cmake/rosidl_typesupport_cConfig.cmake:41 (include) /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rosidl_core_generators/cmake/rosidl_core_generators-extras.cmake:21 (find_package) /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rosidl_core_generators/cmake/rosidl_core_generatorsConfig.cmake:41 (include) CMakeLists.txt:17 (find_package) CMake Error at /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rosidl_typesupport_c/cmake/get_used_typesupports.cmake:35 (message): No 'rosidl_typesupport_cpp' found Call Stack (most recent call first): /opt/ros/humble/share/rosidl_typesupport_cpp/cmake/rosidl_typesupport_cpp-extras.cmake:8 (get_used_typesupports) /opt/ros/humble/share/rosidl_typesupport_cpp/cmake/rosidl_typesupport_cppConfig.cmake:41 (include) /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rosidl_core_generators/cmake/rosidl_core_generators-extras.cmake:21 (find_package) /home/zrc/ESP32Code/OLED1/.pio/libdeps/featheresp32/micro_ros_platformio/build/mcu/install/share/rosidl_core_generators/cmake/rosidl_core_generatorsConfig.cmake:41 (include) CMakeLists.txt:17 (find_package) --- Failed <<< builtin_interfaces [0.41s, exited with code 1]
想请问各位大佬这是为啥?
-
@铁盒的序 系统什么环境
-
@小鱼 您好,用的是Ubuntu 22.04
-
@小鱼 是不是国外的源本来就是不能直接编译使用的?必须用小鱼您修改后的国内仓库的源才能正常编译运行?
-
@铁盒的序 我给的仓库里面放了编译好的库了,国外的要重新构建,因为无法访问github,很容易失败