libQtShadowsocks
libQtShadowsocks copied to clipboard
Build error on Ubuntu 18.04
zelongg@zelongg-ThinkPad-T430:/media/zelongg/DATA/libQtShadowsocks/build$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Checking for one of the modules 'botan-2>=2.3.0;botan-1.10'
CMake Error at /usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:645 (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 /media/zelongg/DATA/libQtShadowsocks/lib
-- Configuring incomplete, errors occurred!
See also "/media/zelongg/DATA/libQtShadowsocks/build/CMakeFiles/CMakeOutput.log".
This morning, I re-run the command, it seems okay but I did not remember what I have done
zelongg@zelongg-ThinkPad-T430:/media/zelongg/DATA/libQtShadowsocks/build$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for one of the modules 'botan-2>=2.3.0;botan-1.10'
-- Botan-2 is found and will be used in this build
-- Configuring done
-- Generating done
-- Build files have been written to: /media/zelongg/DATA/libQtShadowsocks/build
This morning, I re-run the command, it seems okay but I did not remember what I have done
zelongg@zelongg-ThinkPad-T430:/media/zelongg/DATA/libQtShadowsocks/build$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") -- Checking for one of the modules 'botan-2>=2.3.0;botan-1.10' -- Botan-2 is found and will be used in this build -- Configuring done -- Generating done -- Build files have been written to: /media/zelongg/DATA/libQtShadowsocks/build
this problem can be resolved after installing libzbar and libbotan
This morning, I re-run the command, it seems okay but I did not remember what I have done
zelongg@zelongg-ThinkPad-T430:/media/zelongg/DATA/libQtShadowsocks/build$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") -- Checking for one of the modules 'botan-2>=2.3.0;botan-1.10' -- Botan-2 is found and will be used in this build -- Configuring done -- Generating done -- Build files have been written to: /media/zelongg/DATA/libQtShadowsocks/build
this problem can be resolved after installing libzbar and libbotan
wow i installed libbotan but still get the error , when i installed libzbar ,all be fine