Skip to content

spdlog::debug( as well as info etc ...) breaks at link time when no argument in fmt #1861

Answered by grbba
grbba asked this question in Q&A
Discussion options

You must be logged in to vote

yes i was sure that i am missing something. The trick in the end was as i am using fmt also as a package to

a) to put fmt first to be loaded by CPM.cmake as dependency before spdlog and
b) set the SPDLOG_FMT_EXTERNAL flag.

No more linker errors. I guess there must have been some conflict concerning the fmt lib Thanks for your reply in any case
Have a good day.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by grbba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants