Ubuntu系统安装jsoncpp

Jsoncpp 安装

jsoncpp 是一个 c++封装的 json 包,跨平台支持 windows、linux、unix 等多系统。

You must run cmake in a build directory.
# For example:
# mkdir jsoncpp-Sandbox ; cd jsoncpp-sandbox
# git clone https://github.com/open-source-parsers/jsoncpp.git # or download & unpack the source tarball
# mkdir jsoncpp-build
# this will create the following directory structure
#
# jsoncpp-Sandbox
#  +--jsoncpp
#  +--jsoncpp-build
#
# Then you can proceed to configure and build
# by using the following commands
#
# cd jsoncpp-build
# cmake ../jsoncpp # or ccmake, or cmake-gui 
# make

按照以上操作后,会显示

-- Configuring done
-- Generating done
[100%] Built target jsoncpp_test

目前只做临时记录,其具体操作和用法待更新。

你可能感兴趣的:(ubuntu,linux,运维)