Skip to content

Static build failed #126

@YXL76

Description

@YXL76

colcon build --packages-up-to rcl --cmake-args -DBUILD_SHARED_LIBS=OFF

Log:

CMake Error at ~/.conan2/p/b/ros213831a02b1df9/p/share/rcl_logging_spdlog/cmake/rcl_logging_spdlogExport.cmake:61 (set_target_properties):
  The link interface of target "rcl_logging_spdlog::rcl_logging_spdlog"
  contains:

    spdlog::spdlog

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  ~/.conan2/p/b/ros213831a02b1df9/p/share/rcl_logging_spdlog/cmake/ament_cmake_export_targets-extras.cmake:9 (include)
  ~/.conan2/p/b/ros213831a02b1df9/p/share/rcl_logging_spdlog/cmake/rcl_logging_spdlogConfig.cmake:41 (include)
  cmake/get_default_rcl_logging_implementation.cmake:43 (find_package)
  CMakeLists.txt:23 (get_default_rcl_logging_implementation)

Related: 6d776cd

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions