We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using the default built commands and latest commit 173d065 for v1.x
v1.x
Gcc: 5.4.0
5.4.0
$ git clone https://github.com/gabime/spdlog.git $ cd spdlog && mkdir build && cd build $ cmake .. && make -j
I am getting the following error on the example:
make -j [ 10%] Building CXX object CMakeFiles/spdlog.dir/src/fmt.cpp.o [ 20%] Building CXX object CMakeFiles/spdlog.dir/src/file_sinks.cpp.o [ 30%] Building CXX object CMakeFiles/spdlog.dir/src/async.cpp.o [ 40%] Building CXX object CMakeFiles/spdlog.dir/src/spdlog.cpp.o [ 50%] Building CXX object CMakeFiles/spdlog.dir/src/color_sinks.cpp.o [ 60%] Building CXX object CMakeFiles/spdlog.dir/src/stdout_sinks.cpp.o [ 70%] Building CXX object CMakeFiles/spdlog.dir/src/cfg.cpp.o [ 80%] Linking CXX static library libspdlog.a [ 80%] Built target spdlog [ 90%] Building CXX object example/CMakeFiles/example.dir/example.cpp.o /home/tanasaki/spdlog/example/example.cpp:267:17: error: specialization of ‘template<class T, class Char, class Enable> struct fmt::v8::formatter’ in different namespace [-fpermissive] struct fmt_lib::formatter<my_type> : fmt_lib::formatter<std::string> ^ In file included from /home/tanasaki/spdlog/include/spdlog/fmt/fmt.h:24:0, from /home/tanasaki/spdlog/include/spdlog/common.h:45, from /home/tanasaki/spdlog/include/spdlog/spdlog.h:12, from /home/tanasaki/spdlog/example/example.cpp:29: /home/tanasaki/spdlog/include/spdlog/fmt/bundled/core.h:707:8: error: from definition of ‘template<class T, class Char, class Enable> struct fmt::v8::formatter’ [-fpermissive] struct formatter { ^ example/CMakeFiles/example.dir/build.make:75: recipe for target 'example/CMakeFiles/example.dir/example.cpp.o' failed make[2]: *** [example/CMakeFiles/example.dir/example.cpp.o] Error 1 CMakeFiles/Makefile2:125: recipe for target 'example/CMakeFiles/example.dir/all' failed make[1]: *** [example/CMakeFiles/example.dir/all] Error 2 Makefile:155: recipe for target 'all' failed make: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
Duplicate #2333
Sorry, something went wrong.
No branches or pull requests
Using the default built commands and latest commit 173d065 for
v1.x
Gcc:
5.4.0
I am getting the following error on the example:
The text was updated successfully, but these errors were encountered: