編譯時提示如下的類似信息時:
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 系統(tǒng)上的解決方法是射赛,在命令行輸入如下命令:
sudo apt-get install libssl-dev
安裝 openssl 的編譯依賴鲜戒。這樣一般就能解決我們遇到的問題了境钟。