小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
求助, 在ubuntu20.04源码编译安装ros2 humble 时遇到一堆stderr。。
-
错误如下:
stderr: rti_connext_dds_cmake_module
CMake Warning at cmake/rti_build_helper.cmake:380 (message):
no CONNEXTDDS_DIR nor NDDSHOME specified
Call Stack (most recent call first):
cmake/rti_build_helper.cmake:554 (rti_load_connextddsdir)
CMakeLists.txt:25 (rti_find_connextpro)stderr: rmw_connextdds_common
CMake Warning at /home/qsq/ros2_humble/install/share/rti_connext_dds_cmake_module/cmake/rti_build_helper.cmake:380 (message):
no CONNEXTDDS_DIR nor NDDSHOME specified
Call Stack (most recent call first):
/home/qsq/ros2_humble/install/share/rti_connext_dds_cmake_module/cmake/rti_build_helper.cmake:554 (rti_load_connextddsdir)
CMakeLists.txt:185 (rti_find_connextpro)
stderr: qt_gui_cpp
qt.shiboken: (typesystem) Unable to locate Clang's built-in include directory (neither by checking the environment variables LLVM_INSTALL_DIR, CLANG_INSTALL_DIR nor running llvm-config). This may lead to parse errors.
(typesystem) clang_parseTranslationUnit2(0x0, cmd[25]=-fPIC -Wno-constant-logical-operand -std=c++14 -I/home/qsq/ros2_humble/src/ros-visualization/qt_gui_core/qt_gui_cpp/include -I/home/qsq/ros2_humble/install/include/pluginlib -I/home/qsq/ros2_humble/install/include/ament_index_cpp -I/home/qsq/ros2_humble/install/include/class_loader -I/home/qsq/ros2_humble/install/include/console_bridge_vendor -I/home/qsq/ros2_humble/install/include/rcpputils -I/home/qsq/ros2_humble/install/include/rcutils -I/usr/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/usr/include/PySide2 -I/usr/include/c++/9 -I/usr/include/x86_64-linux-gnu/c++/9 -I/usr/include/c++/9/backward -I/usr/lib/gcc/x86_64-linux-gnu/9/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include /tmp/global_aXpvps.hpp)
qt.shiboken: (typesystem) Enum 'RCUTILS_LOG_SEVERITY' does not have a type entry
qt.shiboken: (typesystem) While traversing QOpenGLShaderProgram: setAttributeArray(int,const float*,int,int): Cannot use parameter 2 as an array: <array> modification already applied.
qt.shiboken: (typesystem) class 'QAccessibleWidget' inherits from unknown base class 'QAccessibleActionInterface' -
注意使用 docs.ros.org里的编译命令,有几个库是需要忽略的