meta-ros "Package 'rcutils' exports the library 'rcutils' which couldn't be found"
I'm coming across an error when running bitbake ros-image-core
as specified in meta-ros instructions.
Package 'rcutils' exports the library 'rcutils' which couldn't be found"
The line above the error, Found rcutils: 4.0.2
indicates that it's not a missing dependency on rcutils.
ERROR: rosidl-runtime-c-2.2.1-2-r0 do_configure: Execution of '/build/tmp/work/corei7-64-poky-linux/rosidl-runtime-c/2.2.1-2-r0/temp/run.do_configure.1934' failed with exit code 1:
-- The C compiler identification is GNU 9.3.0
-- Check for working C compiler: /build/tmp/work/corei7-64-poky-linux/rosidl-runtime-c/2.2.1-2-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-gcc
-- Check for working C compiler: /build/tmp/work/corei7-64-poky-linux/rosidl-runtime-c/2.2.1-2-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found ament_cmake_ros: 0.9.2 (/build/tmp/work/corei7-64-poky-linux/rosidl-runtime-c/2.2.1-2-r0/recipe-sysroot-native/usr/share/ament_cmake_ros/cmake)
-- Found PythonInterp: /build/tmp/work/corei7-64-poky-linux/rosidl-runtime-c/2.2.1-2-r0/recipe-sysroot-native/usr/bin/python3-native/python3 (found suitable version "3.8.2", minimum required is "3")
-- Using PYTHON_EXECUTABLE: /build/tmp/work/corei7-64-poky-linux/rosidl-runtime-c/2.2.1-2-r0/recipe-sysroot-native/usr/bin/python3-native/python3
-- Found rcutils: 4.0.2 (/build/tmp/work/corei7-64-poky-linux/rosidl-runtime-c/2.2.1-2-r0/recipe-sysroot/usr/share/rcutils/cmake)
CMake Error at /build/tmp/work/corei7-64-poky-linux/rosidl-runtime-c/2.2.1-2-r0/recipe-sysroot/usr/share/rcutils/cmake/ament_cmake_export_libraries-extras.cmake:48 (message):
Package 'rcutils' exports the library 'rcutils' which couldn't be found
Call Stack (most recent call first):
/build/tmp/work/corei7-64-poky-linux/rosidl-runtime-c/2.2.1-2-r0/recipe-sysroot/usr/share/rcutils/cmake/rcutilsConfig.cmake:41 (include)
CMakeLists.txt:15 (find_package)
-- Configuring incomplete, errors occurred!
See also "/build/tmp/work/corei7-64-poky-linux/rosidl-runtime-c/2.2.1-2-r0/build/CMakeFiles/CMakeOutput.log".
WARNING: exit code 1 from a shell command.
ERROR: Logfile of failure stored in: /build/tmp/work/corei7-64-poky-linux/rosidl-runtime-c/2.2.1-2-r0/temp/log.do_configure.1934
I'm trying to compile ros2-galactic with dunfell. I have tried ros2-foxy with dunfell aswell but that fails too.
Does anyone have any clues? Thanks!
Hi, do you solve this problem? I also run into this for ros2-foxy whem cross-compiling.
@andy2008 Unfortunately i didnt, turned out that i didnt need meta-ros for what i was trying to achieve. It would be good if you could close this post with an answer once you solve it though.