EmmiOcean/DDPG_LibTorch

Could not find a package configuration file provided by "jsoncpp"

Opened this issue · 0 comments

Thanks a lot for your project first. However, when I cmake the project, I got this issue. I am actually a freshman in C++, so could you help me to point out how can I fix this ?

CMake Error at CMakeLists.txt:9 (find_package):
  By not providing "Findjsoncpp.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "jsoncpp", but
  CMake did not find one.

  Could not find a package configuration file provided by "jsoncpp" with any
  of the following names:

    jsoncppConfig.cmake
    jsoncpp-config.cmake

  Add the installation prefix of "jsoncpp" to CMAKE_PREFIX_PATH or set
  "jsoncpp_DIR" to a directory containing one of the above files.  If
  "jsoncpp" provides a separate development package or SDK, be sure it has
  been installed.


-- Configuring incomplete, errors occurred!
See also "/home/skylark/Github/Machine-Learning-Basic-Codes/RL_DDPG/DDPG_LibTorch-master/build/CMakeFiles/CMakeOutput.log".
See also "/home/skylark/Github/Machine-Learning-Basic-Codes/RL_DDPG/DDPG_LibTorch-master/build/CMakeFiles/CMakeError.log".