Stellow
C++/C#/PHP/LUA
Any solution to compile on the latest version of mac?
Openssl is installed already by brew.
And brew linking, as an option I have seen on internet, seems not to work.
I did not tried to do this "pass the full include" to my compiler, because I do not understand how the cmake works and how to put it into.
Edit
Seems that adding those lines to Cmakelist.xml works:
Code:
/.../otclient/src/framework/util/crypt.cpp:35:10: fatal error:
'openssl/rsa.h' file not found
Openssl is installed already by brew.
And brew linking, as an option I have seen on internet, seems not to work.
Code:
Refusing to link: openssl101
Linking keg-only openssl101 means you may end up linking against the insecure,
deprecated system OpenSSL while using the headers from Homebrew's openssl101.
Instead, pass the full include/library paths to your compiler e.g.:
-I/usr/local/opt/openssl101/include -L/usr/local/opt/openssl101/lib
I did not tried to do this "pass the full include" to my compiler, because I do not understand how the cmake works and how to put it into.
Edit
Seems that adding those lines to Cmakelist.xml works:
Code:
include_directories(/usr/local/opt/openssl/include)
link_directories(/usr/local/opt/openssl/lib)
Last edited: