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

Build fails with spdlog 1.14.0: error: undefined symbol: spdlog::get(char const*) #1577

Closed
yurivict opened this issue Apr 27, 2024 · 2 comments

Comments

@yurivict
Copy link

yurivict commented Apr 27, 2024

Problem Description

log

How to reproduce

regular build

How did you get eCAL?

Custom Build / Built from source

Environment

clang-18
FreeBSD 14.0

eCAL System Information

Version: 5.13.0
@FlorianReimold
Copy link
Member

I replicated the issue Ubuntu. There has been an API break from spdlog 1.13.0 to 1.14.0. I don't think that was intended, so maybe it would be the correct way to redirect this issue to the spdlog repo.

@FlorianReimold
Copy link
Member

FlorianReimold commented Apr 29, 2024

@yurivict

There is an issue in spdlog that prevents linking spdlog built with C++11 (spdlog default version) into a C++17 or later application. Currently you have the choice to:

  • downgrade to spdlog 1.13.0
    or
  • manually set the C++ version on command-line via -DCMAKE_CXX_STANDARD=17 to force spdlog use C++17

I guess, this will be solved in the next spdlog release. You can refer to this ticket for more information: gabime/spdlog#3081

I am closing the issue here.

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

2 participants