libjson-c编译及安装
json-c首页: https://github.com/json-c/json-c/wiki 0. 依赖条件 本文采用centos系统编译libjson源码,先提前安装依赖。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
#编译器 gcc, clang, or another C compiler #cmake cmake>=2.8, >=3.16 recommended #若要生成文档,还需要doxygen To generate docs you'll also need: doxygen>=1.8.13 If you are on a relatively modern system, you'll likely be able to install the prerequisites using your OS's packaging system. #Install using yum (e.g. CentOs 7.6) $ yum install -y git $ yum install -y cmake $ yum install -y doxygen # optional $ yum install -y valgrind # optional |
1. 下载源码 官方Gibhub下载地址:https://gi… 阅读更多 »libjson-c编译及安装