ubuntu compile jsoncpp

1. Download version 1.9.5 from github here: https://github.com/open-source-parsers/jsoncpp.git
2. After getting the jsoncpp-master.zip package, unzip it and enter jsoncpp-master
3. In the current Create a new build path in the directory, enter the build directory
4. Execute in the build directory to cmake ../get the Makefile file
5. Execute makethe command to compile the jsoncpp library.
Insert image description here
Executing here means that it has been compiled.
Insert image description here
The above is the compiled library.

Guess you like

Origin blog.csdn.net/weixin_43815862/article/details/130012018