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:
- [Solved] error: invalid operands of types ‘const char [6]‘ and ‘const char [6]‘ to binary ‘operator+‘
- [Solved] C++ Error: terminate called after throwing an instance of ‘char const‘
- [Solved] Android Project error: import android.support.v4 (V7). App.activitycompat
- [Solved] target_link_libraries error: a missing vtable usually means the first non-inline virtual member function has no definition.
- [Solved] fastapi error: {“detail”:[{“loc”:[“body”],”msg”:”field required”,”type”:”value_error.missing”}]}
- [Solved] Error: package or namespace load failed for ‘ggplot2’ in loadNamespace(i, c(lib.loc, .libPaths()), v
- Sending ‘const NSString *’ to parameter of type ‘NSString *’ discards qualifiers [Solved]
- [Solved] sending const NSString * to parameter of type NSString * discards qualifiers
- [Solved] error: failed to run custom build command for `librocksdb-sys v6.17.3`
- Error in v-on handler (Promise/async): “Error: Network Error“ [How to Solve]
- React Hook “useState“ is called in function “xxx“ which is neither a React function component or
- Error: could not find function … in R [How to Solve]
- Tensorflow C++:You must define TF_LIB_GTL_ALIGNED_CHAR_ARRAY for your compiler
- C++ Compile Error: error: invalid conversion from ‘void*‘ to ‘char*‘ [-fpermissive]
- [Solved] ERROR_POLICY: attempt to perform an operation not allowed by the security policy `PDF‘ @ error/const
- [Solved] Tensorflow2.0 Error: Function call stack:distributed_function
- [Solved] error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows,
- [Solved] Compile the program error: undefined reference to `cv::dnn::dnn4_v20210301::Net::~Net()‘
- Springboot Run Error: java.lang.NoClassDefFoundError: org/eclipse/jetty/server/Handler
- [Solved] MindSpore Error: For primitive[TensorSummary], the v rank Must be greater than or equal to 0