[Solved] Error: In the Function of ‘fmt::v8::detail::error_handler::on_error(char const*)’

1. Reasons

The FMT.H and related dynamic link files were not found

2. Solutions

Download FMT package, compile, install and call

git clone https://hub.fastgit.org/fmtlib/fmt.git
cd fmt
mkdir build
cmake ..
make
sudo make install

Called in the project cmakelists.txt

find_package(FMT REQUIRED)
target_link_libraries(Name of the executable file fmt::fmt)

Read More: