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 make
the command to compile the jsoncpp library.
Executing here means that it has been compiled.
The above is the compiled library.
ubuntu compile jsoncpp
Guess you like
Origin blog.csdn.net/weixin_43815862/article/details/130012018
Ranking