Could not find a package configuration file provided by "nlohmann_json" (requested version 3) with

1. Download the source code from github

git clone https://github.com/nlohmann/json.git

2. Compile and Installation

mkdir build
cd build
cmake ../
make -j2
sudo make install

猜你喜欢

转载自blog.csdn.net/jiaken2660/article/details/105155257