After following the instructions for building ros2 libraries via the following repo https://github.com/sloretz/sensors_for_ros, I wanted to build another project with an updated CMAKE_FIND_ROOT_PATH set to the location of these built libraries from this repo
I then tried to build a project with a CMakeLists.txt files like below:
-- Found ament_cmake: 1.3.3 (/root/workspace/ros2-build/build/deps/share/ament_cmake/cmake)
-- Found Python3: /usr/bin/python3.8 (found version "3.8.10") found components: Interpreter
-- Found common_interfaces: 4.2.2 (/root/workspace/ros2-build/build/deps/share/common_interfaces/cmake)
-- Found rosidl_typesupport_c: 2.0.0 (/root/workspace/ros2-build/build/deps/share/rosidl_typesupport_c/cmake)
CMake Error at /root/workspace/ros2-build/build/deps/share/rosidl_typesupport_c/cmake/get_used_typesupports.cmake:35 (message):
No 'rosidl_typesupport_c' found
Call Stack (most recent call first):
/root/workspace/ros2-build/build/deps/share/rosidl_typesupport_c/cmake/rosidl_typesupport_c-extras.cmake:8 (get_used_typesupports)
/root/workspace/ros2-build/build/deps/share/rosidl_typesupport_c/cmake/rosidl_typesupport_cConfig.cmake:41 (include)
sensor_network_interfaces/CMakeLists.txt:11 (find_package)
Bug report
Required Info:
Steps to reproduce issue
After following the instructions for building ros2 libraries via the following repo https://github.com/sloretz/sensors_for_ros, I wanted to build another project with an updated CMAKE_FIND_ROOT_PATH set to the location of these built libraries from this repo
I then tried to build a project with a CMakeLists.txt files like below:
Using the following cmake command:
cmake -DANDROID_NDK=/root/android-ndk-r25b -DANDROID_API_MIN=31 -DANDROID_ARCH_ABI=arm64-v8a -DCMAKE_FIND_ROOT_PATH=/root/workspace/ros2-build/build/deps ..
Expected behavior
builtin_interfaces should be build
Actual behavior
Additional information