You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting >>> rcl
--- stderr: rcl
CMake Error at CMakeLists.txt:69 (add_library):
Target "rcl" links to target "CycloneDDS::ddsc" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:69 (add_library):
Target "rcl" links to target "iceoryx_binding_c::iceoryx_binding_c" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:69 (add_library):
Target "rcl" links to target "spdlog::spdlog" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
CMake Generate step failed. Build files cannot be regenerated correctly.
I tried to compile a static ROS2 stack with the folling options:
colcon build --packages-ignore rclcpp_components --symlink-install --cmake-args -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=OFF -DENABLE_SECURITY=OFF -DENABLE_SSL=NO -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DFORCE_BUILD_VENDOR_PKG=ON -DSPDLOG_BUILD_SHARED=OFF
Multipel packages can not be build because rcl_logging_spdlog is not exporting spdlog as a dependency.
I belive PR 60 has broken static builds.
Adding
ament_target_dependencies(${PROJECT_NAME} rcl_logging_interface rcpputils rcutils spdlog )
for static builds should solve the problems.
The text was updated successfully, but these errors were encountered: