libQtShadowsocks icon indicating copy to clipboard operation
libQtShadowsocks copied to clipboard

树莓派编译出错

Open yuxiaoyuan0406 opened this issue 6 years ago • 0 comments

树莓派在cmake .. -DCMAKE_INSTALL_PREFIX=/usr命令时出错,如下

$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
-- Checking for one of the modules 'botan-2>=2.3.0;botan-1.10'
CMake Error at /usr/share/cmake-3.13/Modules/FindPkgConfig.cmake:679 (message):
  None of the required 'botan-2>=2.3.0;botan-1.10' found
Call Stack (most recent call first):
  CMakeLists.txt:30 (pkg_search_module)


CMake Deprecation Warning at CMakeLists.txt:35 (message):
  Botan-1.10 is found and will be used in this build.  However, Botan-1.10 is
  deprecated and should not be used if possible


CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
BOTAN_LIBRARY_VAR
    linked by target "QtShadowsocks" in directory /home/pi/Downloads/libQtShadowsocks/lib

-- Configuring incomplete, errors occurred!
See also "/home/pi/Downloads/libQtShadowsocks/build/CMakeFiles/CMakeOutput.log".

botan已经安装, 执行指令botan version结果如下

$ botan version
2.9.0

yuxiaoyuan0406 avatar Nov 01 '19 08:11 yuxiaoyuan0406