4

I have cloned the cpp-ethereum in Linux (centOS) from git as follows as suggested in cpp-ethereum-develop cmake error

git clone https://github.com/ethereum/cpp-ethereum 

cd cpp-ethereum

git checkout 5669c209f4f8dbb7dc3f744e8e2a9c92f1104ca3

git checkout -b develop

git submodule update --init --recursive

mkdir -p build
cd build

git clone https://github.com/cinemast/libjson-rpc-cpp

cmake .. 

When building, I get:

-- Could NOT find jsoncpp (missing:  JSONCPP_LIBRARY JSONCPP_INCLUDE_DIR) 

-- JsonCpp headers: JSONCPP_INCLUDE_DIR-NOTFOUND

-- JsonCpp lib   : JSONCPP_LIBRARY-NOTFOUND


CMake Error at cmake/UseJsoncpp.cmake:8 (message):

  Jsoncpp library not found
Call Stack (most recent call first):

  cmake/EthDependencies.cmake:203 (eth_apply)

  cmake/UseJsonRpc.cmake:3 (eth_use)

  cmake/EthDependencies.cmake:203 (eth_apply)

  eth/CMakeLists.txt:7 (eth_use)

Is the above problem from path setting or some thing else?

  • please share the procedure you followed to install the ethereum cpp and which option did you use – Badr Bellaj Oct 21 '16 at 14:55
1

you need to install JSON-RPC (remote procedure call) support for C++ :

https://github.com/cinemast/libjson-rpc-cpp

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.