Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode - 'openssl/opensslconf.h' file not found

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 [enter image description here

Anyone knows how to solve it?

Thanks!

like image 502
Jordi Avatar asked Jul 15 '26 19:07

Jordi


1 Answers

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 in libs/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 the OF_CORE_HEADERS list. The above fix should work fine, though.

like image 117
bakercp Avatar answered Jul 18 '26 11:07

bakercp



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!