====原rosworld==== 在meta-ros-common/recipes-core/images/ros-image-world.bb SUMMARY = "An image with packagegroup-ros-world installed" DESCRIPTION = "${SUMMARY}" inherit ros_distro_${ROS_DISTRO} inherit ${ROS_DISTRO_TYPE}_image IMAGE_INSTALL:append = " \ packagegroup-ros-world \ " 复制一个dey-image-qt, 并在bblayers设置Qt5,然后加入上面这些包。编译,第一个错误: {{:digi:arm-embedded:linux:dey:deycustomrootfs:ros2:pasted:20240323-140352.png}} 从bb去分析,首冼 要保证上各变量已经设置,似乎问题就在变量未设置上,根据错误信息,检查 cat ../../sources/meta-ros/meta-ros2-humble/generated-recipes/moveit/moveit-ros-perception_2.5.5-1.bb|more 检查这个变量: {{:digi:arm-embedded:linux:dey:deycustomrootfs:ros2:pasted:20240323-142544.png}} 在https://github.com/ros/meta-ros/blob/master/meta-ros-common/conf/ros-distro/ros-distro.conf中有设置unset, 那么,正常是要设置什么呢,是否在local.conf中要设置? 这个变量的知识点可能在这里:https://ros2-tutorial.readthedocs.io/en/latest/create_python_package.html 上面没啥用,主要是要解决openmp的问题,在local.conf中加上下面来安装openmp,参考自:https://community.renesas.com/automotive/r-car-h3-m3-cockpit/f/cockpit-f/15301/how-to-enable-openmp-in-renesas-yocto CORE_IMAGE_EXTRA_INSTALL += ”libgomp libgomp-dev libgomp-staticdev” 添加上面这些包,再接着编译,碰上新错误: {{:digi:arm-embedded:linux:dey:deycustomrootfs:ros2:pasted:20240323-225837.png}}