1. 程式人生 > >Could NOT find OpenSSL解決方案

Could NOT find OpenSSL解決方案

version 0.9.8 ram 方案 3.2 PE most open fin

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源碼文件中的版本記錄文件,因此需要添加版本號


Could NOT find OpenSSL解決方案