lua-cjson安装
cJSON
Ultralightweight JSON parser in ANSI C
项目地址:https://gitcode.com/gh_mirrors/cj/cJSON
免费下载资源
·
lua-cjson安装
1 下载lua-cjson源码
wget http://www.kyne.com.au/~mark/software/download/lua-cjson-2.1.0.tar.gz
2 解压安装包
tar -xvf lua-cjson-2.1.0.tar.gz
3 修改MakeFile
[root@iZuf6679bcuj0vciz1vaicZ lua-cjson-2.1.0]# vi Makefile
#LUA_INCLUDE_DIR = $(PREFIX)/include
LUA_INCLUDE_DIR = $(PREFIX)/include/luajit-2.0/
#LUA_CMODULE_DIR = $(PREFIX)/lib/lua/$(LUA_VERSION)
LUA_CMODULE_DIR = $(PREFIX)/lib
#LUA_MODULE_DIR = $(PREFIX)/share/lua/$(LUA_VERSION)
LUA_MODULE_DIR = $(PREFIX)/share/lua/luajit-2.0.5
LUA_INCLUDE_DIR = $(PREFIX)/include/luajit-2.0/
#LUA_CMODULE_DIR = $(PREFIX)/lib/lua/$(LUA_VERSION)
LUA_CMODULE_DIR = $(PREFIX)/lib
#LUA_MODULE_DIR = $(PREFIX)/share/lua/$(LUA_VERSION)
LUA_MODULE_DIR = $(PREFIX)/share/lua/luajit-2.0.5
4 安装
make
make install
GitHub 加速计划 / cj / cJSON
10.45 K
3.16 K
下载
Ultralightweight JSON parser in ANSI C
最近提交(Master分支:2 个月前 )
424ce4ce
This reverts commit 5b502cdbfb21fbe5f6cf9ffbd2b96e4281a741e6.
Related to #860
4 个月前
32497300 - 5 个月前
更多推荐
已为社区贡献1条内容
所有评论(0)