构建NetSieben的用于C ++的SSH Lib

时间:2010-11-20 23:47:51

标签: c++ ssh botan

我试图建立这个库很长一段时间,我有点困惑。我在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!

1 个答案:

答案 0 :(得分:1)

搜索消息“安装库目标没有DESTINATION”表示删除CMakeLists.txt第69行上的Library命令可能有效。

http://www.cmake.org/pipermail/cmake/2008-September/023876.html