CMake错误:找不到openSSL或GCrypt

时间:2014-09-05 14:02:40

标签: windows openssl cmake

我正在尝试使用CMake来获取Windows的libssh二进制文件。 我有Windows 7操作系统和VS 2010。 我安装了OpenSSL并在CMake中设置了条目OPENSSL_INCLUDE_DIR和OPENSSL_ROOT_DIR。之后,我收到以下错误:

Could NOT find NSIS (missing:  NSIS_MAKE)
Could NOT find OpenSSL (missing:  OPENSSL_LIBRARIES)
Could NOT find GCrypt, try to set the path to GCrypt root folder in the system variable GCRYPT_ROOT_DIR (missing:  GCRYPT_INCLUDE_DIR GCRYPT_LIBRARIES)
CMake Error at CMakeLists.txt:57 (message):
   Could not find OpenSSL or GCrypt

欢迎任何帮助...... 提前致谢

1 个答案:

答案 0 :(得分:-1)

在我设置条目SSL_EAY_DEBUG和SSL_EAY_RELEASE后,我们完成了工作。