0

私はかなり長い間このライブラリを構築しようとしてきましたが、やや混乱しています。Stack Overflow (http://www.netsieben.com/products/ssh/index.phtml) で推奨されていることがわかりましたが、ソース パッケージでしか提供されません。コンパイルにはBotanライブラリも必要ですが、途方に暮れています。

ソースコードをダウンロードするだけでなく、Windows インストーラーを使用して Botan をインストールしました。CMAKE GUI でビルドしようとすると、次のエラーが発生します。ボタンソースにアクセスできるようにするには、どこにボタンソースを配置すればよいかわかりません。

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!
4

1 に答える 1

1

メッセージ「install Library TARGETS given no DESTINATION」をグーグル検索すると、CMakeLists.txt の 69 行目の Library コマンドを削除するとうまくいく可能性があることがわかります。

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

于 2010-11-21T09:19:42.227 に答える