Linux常用库的编译

1. c++ json解析库(https://github.com/nlohmann/json.git)

    下载地址:https://github.com/nlohmann/json/releases

     

mkdir nlohmann_json \
&& cd nlohmann_json \
&& wget https://github.com/nlohmann/json/archive/v3.7.3.tar.gz \
&& tar -xzvf v3.7.3.tar.gz \
&& cd json-3.7.3 \
&& mkdir build \
&& cd build \
&& cmake .. \
&& make \
&& make install \
&& cd ..
&& rm -rf ./nlohmann_json

猜你喜欢

转载自www.cnblogs.com/jobgeo/p/12935942.html