lockblox / multihash

C++ Implementation of Multihash
MIT License
10 stars 2 forks source link

cmake: Could not find a package configuration file provided by "cryptopp" #4

Closed boramalper closed 5 years ago

boramalper commented 5 years ago
bora@coma ~> git clone https://github.com/lockblox/multihash
Cloning into 'multihash'...
remote: Enumerating objects: 573, done.
remote: Counting objects: 100% (573/573), done.
remote: Compressing objects: 100% (307/307), done.
remote: Total 1590 (delta 265), reused 561 (delta 259), pack-reused 1017
Receiving objects: 100% (1590/1590), 287.57 KiB | 889.00 KiB/s, done.
Resolving deltas: 100% (866/866), done.
bora@coma ~> cd multihash/
bora@coma ~/multihash> mkdir build
bora@coma ~/multihash> cd build/
bora@coma ~/m/build> cmake ..
-- The CXX compiler identification is GNU 7.4.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:10 (find_package):
  Could not find a package configuration file provided by "cryptopp" with any
  of the following names:

    cryptoppConfig.cmake
    cryptopp-config.cmake

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

-- Configuring incomplete, errors occurred!
See also "/home/bora/multihash/build/CMakeFiles/CMakeOutput.log".

bora@coma ~/m/build> cmake --version
cmake version 3.10.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).
bora@coma ~/m/build> uname -a
Linux coma 4.15.0-50-generic #54-Ubuntu SMP Mon May 6 18:46:08 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
bora@coma ~/m/build> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.2 LTS
Release:    18.04
Codename:   bionic

CMakeOutput.log

Thanks!

markovchainy commented 5 years ago

I have updated the README to improve the build instructions. Please have a look, try again and let me know if you're able to build this time. I would recommend the docker build as the easiest option.