asyncio
asyncio copied to clipboard
cmake error: Could not find a package configuration file provided by "fmt"
Below is the error msg:
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Module support is disabled.
-- Version: 8.0.1
-- Build type:
-- CXX_STANDARD: 20
-- Performing Test has_std_20_flag
-- Performing Test has_std_20_flag - Success
-- Performing Test has_std_2a_flag
-- Performing Test has_std_2a_flag - Success
-- Performing Test SUPPORTS_USER_DEFINED_LITERALS
-- Performing Test SUPPORTS_USER_DEFINED_LITERALS - Success
-- Performing Test FMT_HAS_VARIANT
-- Performing Test FMT_HAS_VARIANT - Success
-- Required features: cxx_variadic_templates
-- Looking for strtod_l
-- Looking for strtod_l - found
CMake Error at CMakeLists.txt:59 (find_package):
By not providing "Findfmt.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "fmt", but
CMake did not find one.
Could not find a package configuration file provided by "fmt" with any of
the following names:
fmtConfig.cmake
fmt-config.cmake
Add the installation prefix of "fmt" to CMAKE_PREFIX_PATH or set "fmt_DIR"
to a directory containing one of the above files. If "fmt" provides a
separate development package or SDK, be sure it has been installed.
-- Configuring incomplete, errors occurred!
See also "/home/yhc/asyncio/build/CMakeFiles/CMakeOutput.log".```
seems need to build and install fmt in third_party dir manually first.
seems need to build and install
fmtinthird_partydir manually first.
sure it is, so maybe the origin CMakeLists.txt file need to be modified for automating this process
do you clone recursive submodules?
$ git clone --recursive https://github.com/netcan/asyncio.git
$ cd asyncio
$ mkdir build
$ cd build
$ cmake ..
$ make -j
yes
do you clone recursive submodules?
$ git clone --recursive https://github.com/netcan/asyncio.git $ cd asyncio $ mkdir build $ cd build $ cmake .. $ make -j
yes, git clone with --recursive
Seems like #18 makes it