Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static build failed #126

Open
YXL76 opened this issue Nov 18, 2024 · 0 comments
Open

Static build failed #126

YXL76 opened this issue Nov 18, 2024 · 0 comments

Comments

@YXL76
Copy link

YXL76 commented Nov 18, 2024

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

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

No branches or pull requests

1 participant