ros / meta-ros

OpenEmbedded Layers for ROS 1 and ROS 2
MIT License
383 stars 252 forks source link

Nothing RPROVIDES 'nativesdk-catkin' #856

Open miram-jraidi opened 3 years ago

miram-jraidi commented 3 years ago

i am trying to build a Linux image with meta-ros-dashing layer branch dunfell but when I tried to bitbake ros-image-sdktest this error always shows up Loading cache: 100% |############################################| Time: 0:00:00 Loaded 4335 entries from dependency cache. NOTE: Resolving any missing task queue dependencies ERROR: Nothing RPROVIDES 'nativesdk-catkin' NOTE: Runtime target 'nativesdk-catkin' is unbuildable, removing... Missing or unbuildable dependency chain was: ['nativesdk-catkin'] ERROR: Required build target 'ros-image-sdktest' has no buildable providers. Missing or unbuildable dependency chain was: ['ros-image-sdktest', 'nativesdk-catkin']

hannes09 commented 3 years ago

Same error comes also with sdktest of ros-noetic.

I have addded BCLASSEXTEND=“native nativesdk” to a catkin_%.bbappend

That will build the sdk.

To use th sdk I sourced the setup.bash of the sdk like this:

source my_sdk/x86_64-tdsdk-linux/opt/ros/noetic/setup.bash

But unfortunataly I got:

CMake Error at CMakeLists.txt:65 (message): find_package(catkin) failed. catkin was neither found in the workspace nor in the CMAKE_PREFIX_PATH. One reason may be that no ROS setup.sh was sourced before.

Same question was answerd here: https://stackoverflow.com/questions/64686050/yocto-sdk-ros1-melodic-meta-ros-build?answertab=votes#tab-top

Something seems still broken.

hannes09 commented 3 years ago

I think this is a duplicate of https://github.com/ros/meta-ros/issues/745