Open bojankoce opened 2 years ago
Hey! I am currently facing the same issue. Can you provide more information about the build error?
Any update?
Hi, everyone. I have same issue too. Does anyone solve it?
Hi, everyone. I have same issue too. Does anyone solve it?
Hi @yimlaisum2014, I think the issue is still not solved. I workaround in that way https://github.com/PUTvision/put-meta-husky/blob/master/husky-msgs_git.bb#L44C19-L44C33. It is not a very practical solution, but I built successfully messages in yocto/petalinux.
@yimlaisum2014 @bartoszptak Thanks for posting comments on this. Sorry for the late response, I'm still getting used to the GitHub UI and didn't see this.
In the work I've been doing to update meta-ros, the *-msgs recipes have been the most trouble. At first, I added the dependencies manually, but recently I have been adding rosidl-default-runtime or rosidl-default-generators to the ROS_BUILDTOOL_DEPENDS. This has been supplying the dependencies it needs. I have seen in newer ROS 2 distributions; they also require a dependency on service-msgs.
I suspect that the problem is related to how superflore generates the base recipes and changes in the default dependencies that are needed. After I finish the work getting ros-image-world to work across all the supported combinations (which is soon), I plan to take a look at fixing superflore next.
Hi, guys!
I have a DART-MX8M-Mini machine running Yocto Hardknott.
I properly added
meta-ros
layer and ROS2 foxy distro to our Yocto build by following instructions from here (Sanity Tests pass successfully).With the help of
devtool
, I was able to build my custom ROS2 package (containing simpletalker
andlistener
nodes - link). For that to happen, I got some great support from the Yocto community - link.Here is the content of
my-first-yocto-pkg_git.bb
recipe that enabled me to download my source code from the git and properly build the ROS2 package:I currently have a hard time building my ROS2 package that contains only custom ROS2 interfaces (messages and services).
CMakeLists.txt
file of that package contains the following lines that are causing the build errors:Do you have any idea about what should be included as
inherit xxxxx
or withinROS_BUILD_DEPENDS
/ROS_BUILDTOOL_DEPENDS
/ROS_EXEC_DEPENDS
... in order to successfully generate the ROS2 package containing custom interfaces?Thanks in advance for your time and efforts. It is appreciated.
Sincerely, Bojan.