I am trying to include crypto++ in my c++ project. When i try to build the library its throwing error.
Tried to build it this way
git clone https://github.com/weidai11/cryptopp.git
cd cryptopp
wget -O CMakeLists.txt https://raw.githubusercontent.com/noloader/cryptopp-cmake/master/CMakeLists.txt
wget -O cryptopp-config.cmake https://raw.githubusercontent.com/noloader/cryptopp-cmake/master/cryptopp-config.cmake
mkdir build && cd build && cmake .. && sudo make install
c++: error: CRYPTOPP_DATA_DIR=/home/akhil/Journey/C++/cryptopp/TestData: linker input file not found: No such file or directory
make[2]: *** [CMakeFiles/cryptopp-object.dir/build.make:76: CMakeFiles/cryptopp-object.dir/cryptlib.cpp.o] Error 1
make[2]: *** Deleting file ‘CMakeFiles/cryptopp-object.dir/cryptlib.cpp.o’
make[1]: *** [CMakeFiles/Makefile2:93: CMakeFiles/cryptopp-object.dir/all] Error 2
make: *** [Makefile:146: all] Error 2