-
Notifications
You must be signed in to change notification settings - Fork 22
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
Fix spdlog fmtlib #296
Fix spdlog fmtlib #296
Conversation
@HaiwangYu it's hard for me to test on old spdlog with built-in fmtlib but hopefully it now compiles for you. |
Now the errors changed for me (spdlog 1.8.2): |
@HaiwangYu is your |
@brettviren I think it is bundled. I found this folder: $ll $SPDLOG_FQ_DIR/include/spdlog/fmt/bundled
total 450K
-rw-r--r-- 1 125 128 1.4K Dec 11 2020 LICENSE.rst
-rw-r--r-- 1 125 128 35K Dec 11 2020 chrono.h
-rw-r--r-- 1 125 128 24K Dec 11 2020 color.h
-rw-r--r-- 1 125 128 24K Dec 11 2020 compile.h
-rw-r--r-- 1 125 128 70K Dec 11 2020 core.h
-rw-r--r-- 1 125 128 108K Dec 11 2020 format-inl.h
-rw-r--r-- 1 125 128 130K Dec 11 2020 format.h
-rw-r--r-- 1 125 128 2.3K Dec 11 2020 locale.h
-rw-r--r-- 1 125 128 14K Dec 11 2020 os.h
-rw-r--r-- 1 125 128 5.8K Dec 11 2020 ostream.h
-rw-r--r-- 1 125 128 75 Dec 11 2020 posix.h
-rw-r--r-- 1 125 128 23K Dec 11 2020 printf.h
-rw-r--r-- 1 125 128 13K Dec 11 2020 ranges.h |
@HaiwangYu sorry for the iteration on this. I have a new try which should work. Tested on various versions of spdlog/fmtlib as described in the wire-cell-spack Issue. Though, those tests were done outside of WCT so there is still room for something to go wrong. |
Hi @brettviren, it almost worked for me with only this: ../util/test/test_rayclustering.cxx:3:10: fatal error: fmt/core.h: No such file or directory
3 | #include <fmt/core.h>
| ^~~~~~~~~~~~
compilation terminated.
[757/757][100%][/][==================================================================================>][4.794s]
Waf: Leaving directory `/home/yuhw/wc/larsoft925/src/wct-latest/build'
Build failed
-> task in 'test_rayclustering' failed with exit status 1 (run with -v to display more information) |
@HaiwangYu this was a stray direct include that is apparently not even needed. I just pushed a commit to remove it. Please try one more time. |
Thanks! It now compiles and Sim/SigProc seems to be correct. |
This fixes WireCell/wire-cell-spack#12