I\'m trying to use the fmt (https://github.com/fmtlib/fmt) formatting header library in my c++ project.
I\'ve added the path to the core header file at the top of my ma
You should link with the fmt library or use the optional header-only mode.
fmt
For example, if you have the file test.cc:
test.cc
#include <fmt/core.h> int main() { fmt::print("The answer is {}.", 42); }
You can compile and link it with gcc:
g++ -std=c++11 test.cc -lfmt