抱歉,如果这听起来很生硬,我仍然想问这个问题,因为我是 libtorrent 的新手。我正在尝试使用 libtorrent 编写文件传输机制,但是在执行以下操作时遇到了这个有趣的错误CMake Build
:
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
system variable OPENSSL_ROOT_DIR (missing: OPENSSL_LIBRARIES
OPENSSL_INCLUDE_DIR)
Call Stack (most recent call first):
C:/Program Files (x86)/CMake/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_MESSAGE)
C:/Program Files (x86)/CMake/share/cmake-3.2/Modules/FindOpenSSL.cmake:334 (find_package_handle_standard_args)
CMakeLists.txt:162 (FIND_PACKAGE)
这个错误很容易理解——我缺少依赖项,我可以安装它。但我想知道的是,使用 libtorrent 的 torrent 流量是否默认加密。我已经在我的程序中实现了一个加密方案,我不想加密已经加密的数据!