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 because of fmt #1

Closed
quietvoid opened this issue Jan 28, 2021 · 5 comments
Closed

Build fails because of fmt #1

quietvoid opened this issue Jan 28, 2021 · 5 comments
Labels
build Issue with building

Comments

@quietvoid
Copy link

Hi, I tried building following the instructions but it fails:
torrenttools/src/tracker_database.cpp:7:10: fatal error: fmt/args.h: No such file or directory

I am on Arch Linux, and fmt is installed: fmt 7.1.3-1

@fbdtemme
Copy link
Owner

This was an issue with the fmt library that was fixed recently (fmtlib/fmt#2096), but not yet released.
If you uninstall the system installation of fmt the latest version will be pulled from github and it should build.

If other packages depend on fmt and you cannot remove the package, you can try to temporary disable the build system from discovering the system installation by removing the files in "/usr/lib/cmake/fmt/" and then restoring them again after the build.

@quietvoid
Copy link
Author

Ah okay, cheers.
I'll try installing the header file.

@quietvoid
Copy link
Author

quietvoid commented Jan 28, 2021

There are many issues after just readding the args.h file.
The actual file is actually missing in tag 7.1.3.

I will just wait for a new official release.
Thanks.

@fbdtemme
Copy link
Owner

This should be fixed by 9a2617f.
Cmake will ignore system installs of fmt and fetch the latest version from github.

@quietvoid
Copy link
Author

Thanks, the build works now.

@fbdtemme fbdtemme added the build Issue with building label Jan 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issue with building
Projects
None yet
Development

No branches or pull requests

2 participants