Could NOT find OpenSSL解决方案

Call Stack (most recent call first):

  CMakeLists.txt:122 (find_package)



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: Found unsuitable version ".0.0`", but

  required is at least "0.9.8" (found

  SSL_EAY_LIBRARY-NOTFOUND;LIB_EAY_LIBRARY-NOTFOUND)

Call Stack (most recent call first):

  C:/Program Files (x86)/CMake/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:372 (_FPHSA_FAILURE_MESSAGE)

  C:/Program Files (x86)/CMake/share/cmake-3.2/Modules/FindOpenSSL.cmake:324 (find_package_handle_standard_args)

  CMakeLists.txt:122 (find_package)


FindOpenSSL.cmake文件中寻找OpenSSL版本的时候,需要引用到OpenSSL源码文件中的版本记录文件,因此需要添加版本号


猜你喜欢

转载自blog.51cto.com/fengyuzaitu/2131054
今日推荐