Skip to content

Conversation

@YossiO-BWR
Copy link

When I use the package in my workspace, and I have another package that relies on this, I get this error:

--- stderr: sm_v2                                                                                                                                                                                   
CMake Error at /home/yossi/cramim2_ws/install/direct_lidar_inertial_odometry/share/direct_lidar_inertial_odometry/cmake/ament_cmake_export_libraries-extras.cmake:48 (message):
  Package 'direct_lidar_inertial_odometry' exports the library
  'direct_lidar_inertial_odometry' which couldn't be found
Call Stack (most recent call first):
  /home/yossi/cramim2_ws/install/direct_lidar_inertial_odometry/share/direct_lidar_inertial_odometry/cmake/direct_lidar_inertial_odometryConfig.cmake:41 (include)
  CMakeLists.txt:39 (find_package)
---
Ubuntu 22.04, ROS Humble

I see that there's no add_library(${PROJECT_NAME}) in the file as well.

Also, the libraties nano_gicp, nanoflann are exported but not installed, so I get similar errors as well.

Removing the ament_export_libraries makes it work without errors.

@YossiO-BWR YossiO-BWR changed the title Patch 1 Remove ament_export_libraries May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant