mac g++编译找不到openssl库
common/common.cpp:3:10: fatal error: 'openssl/sha.h' file not found
#include
^~~~~~~~~~~~~~~
1 error generated.
解决方法
首先确定已经安装了openssl
brew install openssl
然后
cd /usr/local/include
ln -s ../opt/openssl/include/openssl .
发表回复