jsoncpp安装

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了jsoncpp安装相关的知识,希望对你有一定的参考价值。

1. 下载地址:

  https://github.com/open-source-parsers/jsoncpp

2. jsoncpp最新版要求:

  CMake 2.8.5 or higher is required.

3. 下载cmake:

  https://cmake.org/download/

4. 安装cmake:

  ./bootstrap --prefix=/home/test/support/storm-cpp/cmake-3.4.3/install

  gmake

  make install

5. python的要求:

  Found unsuitable version "2.4.3", but required is at least "2.6" (found /usr/bin/python2

  下载地址:https://www.python.org/downloads/release/python-351/ 

  tar xf Python-3.5.1.tgz

  ./configure --prefix=/home/xumj/support/storm-cpp/Python-3.5.1/install --bindir=/home/test/support/storm-cpp/Python-3.5.1/install/bin

 

以上是关于jsoncpp安装的主要内容,如果未能解决你的问题,请参考以下文章

cmake源码编译安装jsoncpp

linux下正确安装jsoncpp

CentOS源码安装Jsoncpp

CentOS安装jsoncpp

Linux(程序设计):31---jsoncpp库(C++操作JSON)

Linux(程序设计):31---jsoncpp库(C++操作JSON)