meta-ros icon indicating copy to clipboard operation
meta-ros copied to clipboard

Error: No Python binding generator found

Open ABTrac opened this issue 3 years ago • 0 comments

Dear ROS community,

I am running into a problem when want to add meta-ros to an existing yocto build for Nvidia Jetson-agx-xavier. I have added meta-ros as instructed in https://github.com/ros/meta-ros/wiki/OpenEmbedded-Build-Instructions#add-meta-ros-to-an-existing-openembedded-project and everything was successfully compiled including the ros-image-core. However, when I wanted to add rviz to the image I got the following configuration errors: Screenshot from 2022-04-14 11-33-53

I am building the image from the Dunfell branch, and I have added meta-qt5 layer and also added sip in local.conf IMAGE_INSTALL_append= " sip" and removed rviz from the blacklist.

Any idea how to fix the No Python binding generator found error? I have tried to help cmake by setting CMAKE_PREFIX_PATH and Qt5_DIR at the begging of the sip_helper.cmake as follows:

set(CMAKE_PREFIX_PATH "/media/tracoven/Storage/Nvidia/jetpack-4.6/build/tmp/sysroots-components/aarch64/qtbase/usr/lib/cmake/Qt5/")

set(Qt5_DIR "/media/tracoven/Storage/Nvidia/jetpack-4.6/build/tmp/sysroots-components/aarch64/qtbase/usr/lib/cmake/Qt5/" CACHE PATH "directory where Qt5Config.cmake exists.")

but unfortunately I still get the same error. Any suggestions will be really appreciated. Thank you.

ABTrac avatar Apr 20 '22 14:04 ABTrac