GitHub - imagora/jsoncpp_example: jsoncpp example
Repository navigation
jsoncpp_examplePublic
About
jsoncpp example
Topics
example jsoncppResources
Readme Activity Custom propertiesStars
0 starsWatchers
1 watchingForks
1 fork Report repositoryBranches
Tags
Go to Branches page Go to Tags page
Latest commit
History
11 Commits
View commit history for this file.
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|---|---|---|
| .gitignore | .gitignore | ||
| CMakeLists.txt | CMakeLists.txt | ||
| README.md | README.md | ||
| main.cpp | main.cpp | ||
| read_write.cpp | read_write.cpp | ||
| read_write.h | read_write.h | ||
| simple_checker.cpp | simple_checker.cpp | ||
| simple_checker.h | simple_checker.h | ||
| value_check.cpp | value_check.cpp | ||
| value_check.h | value_check.h | ||
Repository files navigation
jsoncpp example
build jsoncpp
-
Requirement
- ubuntu 14.04
- g++:
sudo apt-get -y install g++ - cmake > 3.0:
sudo apt-get -y install cmake3
-
uninstall libjsoncpp library
sudo apt-get -y remove libjsoncpp0 sudo apt-get -y remove libjsoncpp-dev
-
build
git clone -b 1.8.2 https://github.com/open-source-parsers/jsoncpp.git cd jsoncpp mkdir build/release cd build/release cmake -DCMAKE_BUILD_TYPE=release -DBUILD_STATIC_LIBS=ON -DBUILD_SHARED_LIBS=OFF -DARCHIVE_INSTALL_DIR=. -G "Unix Makefiles" ../.. make sudo make install
About
jsoncpp example