I want to run the openFrameworks's examples following this tutorial (http://www.openframeworks.cc/setup/xcode/), but I have the following issue:
'openssl/opensslconf.h' file not found [
Anyone knows how to solve it?
Thanks!
I want to run the openFrameworks's examples following this tutorial (http://www.openframeworks.cc/setup/xcode/), but I have the following issue:
'openssl/opensslconf.h' file not found [
Anyone knows how to solve it?
Thanks!
Coped from http://forum.openframeworks.cc/t/fix-for-xcode-7-and-of-0-8-4-opensslconf-h-not-found/20800
When building an OF 0.8.4 project with Xcode 7, you may see the following error:
'openssl/opensslconf.h' file not found
To fix this, open the file
CoreOF.xcconfig
inlibs/openFrameworksCompiled/project/osx/
and add the following line at the bottom:USER_HEADER_SEARCH_PATHS = "$(OF_PATH)/libs/openssl/include"
If you understand the .xcconfig format, a cleaner fix would be to define a
HEADER_OPENSSL
variable at the top of the file, and add it to theOF_CORE_HEADERS
list. The above fix should work fine, though.
This file is in /usr/include on OS X, but is not part of iOS. As the Apple docs state, it is possible to statically link OpenSSL into an iOS app, but they recommend using other security APIs instead.
For those who use the SwiftNIO library in your project and getting this error, brew install libressl
can fix the problem.