我试图建立这个库已经有一段时间了,我有点困惑。我发现它在 Stack Overflow (http://www.netsieben.com/products/ssh/index.phtml) 上被推荐,但它只出现在 Source 包中。它还需要Botan库来编译它,但我很茫然。
我已经使用 Windows Installer 安装了 Botan,并下载了源代码。当我尝试使用 CMAKE GUI 构建它时,出现以下错误。我不确定我应该将 Botan 源放在哪里,以便它可以访问它。
Check for working CXX compiler using: Visual Studio 9 2008
Check for working CXX compiler using: Visual Studio 9 2008 -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Looking for C++ include botan/botan.h
Looking for C++ include botan/botan.h - not found
CMake Warning (dev) at CMakeLists.txt:9 (add_subdirectory):
The source directory
C:/ne7ssh-1.3.2/src
does not contain a CMakeLists.txt file.
CMake does not support this case but it used to work accidentally and is
being allowed for compatibility.
Policy CMP0014 is not set: Input directories must have CMakeLists.txt. Run
"cmake --help-policy CMP0014" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at CMakeLists.txt:69 (install):
install Library TARGETS given no DESTINATION!
Configuring incomplete, errors occurred!