Open hassanayoub85 opened 6 years ago
I got under Arch Linux the similar problem that the libjsoncpp can not been included. I did not spend much time, but found in src/requesthandler.cpp the following lines:
#ifndef __APPLE__
#include <jsoncpp/json/json.h>
#else
#include <json/json.h>
#endif
Under Arch the json.h is located here: usr/include/json/json.h So I removed the "APPLE" handling and it compiles :)
(Under Arch I had also to install hdf5 first)
I think that this is fixed by the #36 PR, but it was never merged
I tested #36 - for me, the changes doesn't fix the include.
Maybe installing libcurl-dev
would solve the problem then?
apt install libcurl4-openssl-dev
fixed this on my ubuntu 18.04
Hi, I followed the setup guide, When i run cmake .. it shows tthis error:
-- Could NOT find libjsoncpp (missing: LIBJSONCPP_INCLUDE_DIR) CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-3.10/Modules/FindCURL.cmake:48 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:47 (find_package)
-- Configuring incomplete, errors occurred! See also "/root/pastec/build/CMakeFiles/CMakeOutput.log". See also "/root/pastec/build/CMakeFiles/CMakeError.log".