编译时提示如下的类似信息时:
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)
在 ubuntu 系统上的解决方法是,在命令行输入如下命令:
apt-get install libssl-dev
这样就好了
编译时提示如下的类似信息时:
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)
在 ubuntu 系统上的解决方法是,在命令行输入如下命令:
apt-get install libssl-dev
这样就好了