Skip to content
This repository was archived by the owner on Dec 10, 2019. It is now read-only.
This repository was archived by the owner on Dec 10, 2019. It is now read-only.

树莓派编译出错 #222

Description

@yuxiaoyuan0406

树莓派在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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions