1、sudo apt-get install git gcc clang libtool autoconf automake doxygen valgrind #安装依赖
2、git clone https://github.com/json-c/json-c.git
3、cd json-c
4、sh ./autogen.sh
5、./configure
6、make
7、make install
8、ldconfig
linux源码安装json-c
最新推荐文章于 2024-08-23 09:16:18 发布
本教程详细介绍了如何从源代码构建json-c库,包括安装依赖、克隆仓库、配置及编译等步骤,适用于希望深入了解json-c开发流程的技术人员。
2627





