xcode - No OpenSSL Support Error When Compiling -
with recent removal of openssl in xcode 7, find myself having build library manually older program utilizes it. i've got xcode project purportedly builds library (libcrypto.a , libssl.a created), when compiling older program, error:
"no openssl thread support"
this caused preprocessor check throwing error:
... #define openssl_thread_defines #include <openssl/opensslconf.h> #ifndef openssl_threads #error no openssl thread support #endif ... the opensslconf.h file being found, apparently openssl_threads not being defined it. supposed included somewhere in file? sort of configuration error on part when building openssl library?
any appreciated. thank in advance!
the answers found in 1 of options can use when configuring build openssl , curl respectively:
./configure darwin64-x86_64-cc and
./configure --with-darwinssl
Comments
Post a Comment