-
Notifications
You must be signed in to change notification settings - Fork 5
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
Building babble
from source fails linking because of libfmt
#17
Comments
libfmt
babble
from source fails linking because of libfmt
babble
from source fails linking because of libfmt
babble
from source fails linking because of libfmt
Ugh this is one of those "I think I've seen this before but I can't remember what it was" ones... Are you compilling with GLIBC_USE_CXX11_ABI=0 by any chance? |
Not that I know. This is just doing exactly what is written in the README but I omitted the Maybe that is the culprit? I will retry on Monday when I have access to the Pop!OS machine again. |
Actually doing a bit of googling this might be because of how I'm building and using spdlog to get around cmake's insistence on installing all dependencies. |
OK I've just puhsed a potential fix. This does bump the minimum cmake version to 3.24 though so you'll likely need to install cmake manually or from the kitware ppa instead of relying on the os-provided version |
After updating cmake to 3.25 I have another error on the Pop!OS machine now:
|
Hmm I'm stumped by this tbh. I just got github actions set up and everything builds and tests on ubuntu-22.04. Can you just use the generated build artifact from there? https://github.com/anderslanglands/babble/actions/runs/12847548725 |
This is on Pop!_OS 22.04 LTS (Ubuntu-based).
I am building
babble
againstllvm-17
, build fails at the linking stage:libfmt-dev
(8.1.1) is installed as a dependency of the requiredlibspdlog-dev
.Also tried building & installing
libfmt
manually but no luck.The text was updated successfully, but these errors were encountered: