Alibaba-Gemini-Lab / OpenCheetah

185 stars 50 forks source link

关于openssl #3

Closed TuoniTuoni closed 2 years ago

TuoniTuoni commented 2 years ago

新手小白,麻烦问下-DOPENSSL_ROOT_DIR=/usr/local/opt/openssl是指定openssl的安装位置吗,我本地没有这个位置,但是也编译通过了,是不是也没有错误?openssl的作用是什么,谢谢

fionser commented 2 years ago

OpenSSL is used by emp-tool (e.g., ECC group operations)

TuoniTuoni commented 2 years ago

OpenSSL is used by emp-tool (e.g., ECC group operations)

谢谢,-DOPENSSL_ROOT_DIR=/usr/local/opt/openssl,请问这个路径是什么,openssl的头文件位置还是静态库(动态库)位置?

fionser commented 2 years ago

We expect the header directory ${OPENSSL_ROOT_DIR}/include/openssl and the *.a files under ${OPENSSL_ROOT_DIR}/lib/

Checkout the Cmake FindOpenSSL command here

TuoniTuoni commented 2 years ago

We expect the header directory ${OPENSSL_ROOT_DIR}/include/openssl and the *.a files under ${OPENSSL_ROOT_DIR}/lib/

Checkout the Cmake FindOpenSSL command here

tks