irobot-ros / events-executor

ROS 2 C++ executor bringing low CPU usage, low latency and deterministic ordering
BSD 3-Clause "New" or "Revised" License
40 stars 12 forks source link

irobot_lock_free_events_queue doesn't support symlink-install when building #9

Open nightduck opened 1 year ago

nightduck commented 1 year ago

Issue was recreated using the steps in Examples except I ran colcon build --symlink-install to build. The result:

Starting >>> irobot_lock_free_events_queue
--- stderr: irobot_lock_free_events_queue                          
CMake Error at /opt/ros/humble/share/ament_cmake_core/cmake/symlink_install/ament_cmake_symlink_install_targets.cmake:102 (file):
  Error evaluating generator expression:

    $<TARGET_FILE:irobot_lock_free_events_queue>

  Target "irobot_lock_free_events_queue" is not an executable or library.
Call Stack (most recent call first):
  /opt/ros/humble/share/ament_cmake_core/cmake/symlink_install/install.cmake:37 (ament_cmake_symlink_install_targets)
  CMakeLists.txt:29 (install)

CMake Error at /opt/ros/humble/share/ament_cmake_core/cmake/symlink_install/ament_cmake_symlink_install_targets.cmake:102 (file):
  Error evaluating generator expression:

    $<TARGET_FILE:irobot_lock_free_events_queue>

  Target "irobot_lock_free_events_queue" is not an executable or library.
Call Stack (most recent call first):
  /opt/ros/humble/share/ament_cmake_core/cmake/symlink_install/install.cmake:37 (ament_cmake_symlink_install_targets)
  CMakeLists.txt:29 (install)

CMake Generate step failed.  Build files cannot be regenerated correctly.
---
Failed   <<< irobot_lock_free_events_queue [1.00s, exited with code 1]
alsora commented 1 year ago

Would you mind trying this fix? https://github.com/irobot-ros/events-executor/pull/7

nightduck commented 1 year ago

That does fix it