gpt4 book ai didi

c - Json-c示例程序编译

转载 作者:行者123 更新时间:2023-11-30 17:44:36 26 4
gpt4 key购买 nike

我正在尝试在 json-c 中执行示例 c 结构程序。我已经使用 git clone 安装了 json-c。我如何编译我的c 程序。我必须在 Makefile 中进行哪些更改?或者还有其他方法可以执行json-c中的程序吗?

提前谢谢您。

最佳答案

如果是可以从 https://github.com/json-c/json-c.git 克隆的 json-c维基百科 https://github.com/json-c/json-c/wiki告诉您需要做什么:

To setup JSON-C to build on your system please run:
./configure --prefix=/some/install/path
make
make check
make install

关于c - Json-c示例程序编译,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19923337/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com