first you need : raspberry pi userland tools installed in /opt/vc libjsoncpp (apt-get install libjsoncpp-dev) jsoncpp-config-cmake (git clone https://github.com/thewtex/jsoncpp-config-cmake.git)