两种方式,一种是源码编译,另一种是 apt 安装
- 源码编译
# 下载源码包
git clone https://github.com/open-source-parsers/jsoncpp.git
cd jsoncpp
mkdir build
cd build
# 编译安装
cmake ..
make -j32
make install
- apt 安装
sudo apt update
sudo apt-get install libjsoncpp-dev
两种方式,一种是源码编译,另一种是 apt 安装
# 下载源码包
git clone https://github.com/open-source-parsers/jsoncpp.git
cd jsoncpp
mkdir build
cd build
# 编译安装
cmake ..
make -j32
make install
sudo apt update
sudo apt-get install libjsoncpp-dev
JsonCpp 性能 解析 yyjson 内存泄漏
3.编译jsoncpp (注:系统要先安装好g++与cmake) ,在jsoncpp目录下创建build文件夹并
记录 | ubuntu安装ffmpeg
记录 | ubuntu安装Albert
记录 | ubuntu安装nginx
记录 | ubuntu安装libboost
记录 | ubuntu上安装fzf
记录 | ubuntu apt安装boost
记录 | ubuntu上安装ccls
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M