Closed AlexisTM closed 2 years ago
Note2: This fix is based on the galactic branch
Could you please retarget this PR to the master
branch here? Our usual workflow is to land things on master and then backport them as necessary. Thank you!
Actually, #89 is a superset of this one, so I'm going to close this in favor of that.
Information
OS: Apertis 2022 (Debian bullseye based) ROS Version: Galactic rcl_logging version: 2.1.4 GCC: aarch64-linux-gnu-g++ (Apertis 10.2.1-6+apertis2+apertispro0bv2022dev3b1) 10.2.1 20210110 Arch: aarch64
Description
When cross-building for our project,
rclcpp_components
and otherrclcpp
packages fails to link to spdlog, saying:spdlog.so.1 not found
while available in the workspace's lib folder (which is in theCMAKE_FIND_ROOT_PATH
).Explicitly adding spdlog as a dependency of
rcl_logging_spdlog
fixes the issue.Note: The build works fine without this when building natively on the host (x86_64). Note2: This fix is based on the galactic branch