Unsigned-Long / iKalibr

iKalibr: Unified Targetless Spatiotemporal Calibration for Resilient Integrated Inertial Systems
https://github.com/Unsigned-Long/iKalibr.git
Other
124 stars 14 forks source link

Build error: 'fmt::format_string’ has not been declared #9

Open meitiever82 opened 3 hours ago

meitiever82 commented 3 hours ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. catkin build ikalibr

Expected behavior A clear and concise description of what you expected to happen.

Screenshots 微信图片_20240923021828

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

Unsigned-Long commented 2 hours ago

Your problem may be caused by the fact that both Sophus and Spdlog libraries rely on fmt. Specifically, when compiling Sophus, specify to use the internal logging library instead of fmt. We have already detailed this problem clearly in the environment configuration document of iKalibr. If this is the problem, please refer to the document (the key points part of Install Required Third Libraries section).

" both spdlog and Sophus would involve the fmt library, and would lead to conflict if the versions of involved fmt in spdlog and Sophus are different. To solve this, we recommend that you set the cmake option SOPHUS_USE_BASIC_LOGGING as ON when compile Sophus, this would avoid to involve fmt logger dependency in Sophus."