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

Rviz can't be build in meta-ros1-melodic

Open minhthuc2502 opened this issue 4 years ago • 1 comments

Hello,

I'm trying to use meta-ros on branch zeus for my card which run only version zeus of yocto. i used steps in [wiki].(https://github.com/ros/meta-ros/wiki/OpenEmbedded-Build-Instructions#add-meta-ros-to-an-existing-openembedded-project)

I want to run the simulation rviz on this card so i tried to use recipe rviz by bitbake rviz. The problem is that rviz uses Qt5 and it can't find the path for header files of Qt. As i checked, the directory of qt is installed correctly in recipe-sysroot.

Screenshot from 2021-02-17 14-28-09

Before, I have some errors like missing sip binding generator, then i added sip sip-native and python-sip for rviz and let PNBLACKLIST[rviz] empty to unblacklist rviz.

What is the configuration I missed?

Any help would be greatly appreciated!

minhthuc2502 avatar Feb 18 '21 08:02 minhthuc2502

Hi @minhthuc2502 and community

I am running into a similar problem . I have added meta-ros to an existing image 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. 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. @minhthuc2502 I would really appreciate if you can please elaborate what you did to fix the SIP binding generator NOT available error. Thank you very much :)

ABTrac avatar Apr 14 '22 08:04 ABTrac

Closing as Melodic is no longer supported.

robwoolley avatar Apr 10 '24 20:04 robwoolley