找回密码
 注册
查看: 2102|回复: 0

su2需要的第3方软件-jsoncpp

[复制链接]
发表于 2014-4-26 09:43:56 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
“jsoncpp is an implementation of a JSON (http://json.org) reader and writer in C++. JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate.”

下载地址:
http://sourceforge.net/projects/jsoncpp/

它是用scons管理编译过程的。需python的支持,可供多平台编译。比如在win下,在jsoncpp的根目录下,有个SConstruct文件。它就是scons控制编译的脚本。在该根目录下,执行scons platform=mingw就是用mingw编译器编译生成一个需要的库文件。

用文本编辑器打开SConstruct,你会看到它是要把编译好的库文件装在libs目录,包含文件装在include目录。

在su2中使用jsoncpp, 你在编译su2时要告诉su2,这些jsoncpp的库和包含文件的位置,以及jsoncpp库文件名。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表