Debug builtin interfaces issue (#1328)

* debugging builtin_interfaces issue on arm64

* add logh

* cmake debug

* show arch

* refactored

* explicit find_library

* explicitly search builtin_interfaces__rosidl_generator_c

* fixing in rtabmap_slam

* rtabmap_sync

* openssl error

* rtabmap odom

* rtabmap_viz

* adding missing deps instead

* testing on all distros

* limit fix to humble-aarch64 build

* remvoed debug code

* Running aarch64 workaround for all distros

* message_filters error

* added cmake --debug-find

* using 2 threads

* reseting ros2 ci
This commit is contained in:
matlabbe
2025-06-16 19:20:21 -07:00
committed by GitHub
parent 7472b019f9
commit d336369ca4
15 changed files with 96 additions and 9 deletions
+14
View File
@@ -1,6 +1,20 @@
cmake_minimum_required(VERSION 3.5)
project(rtabmap_sync)
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
# issues #1285 #1288
find_library(
builtin_interfaces__rosidl_generator_c_LIB NAMES builtin_interfaces__rosidl_generator_c
PATHS "/opt/ros/$ENV{ROS_DISTRO}/lib"
NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH REQUIRED
)
find_library(
crypto_LIB NAMES crypto
PATHS "/usr/lib/${CMAKE_SYSTEM_PROCESSOR}-linux-gnu"
NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH REQUIRED
)
endif()
find_package(cv_bridge REQUIRED)
find_package(image_transport REQUIRED)
find_package(message_filters REQUIRED)