planetbeing / xpwn

A cross-platform custom NOR firmware loader and custom IPSW generator for the iPhone
http://planetbeing.lighthouseapp.com/projects/15246-xpwn
GNU General Public License v3.0
464 stars 326 forks source link

Mac OS X 10.11 OpenSSL #9

Closed bolencki13 closed 8 years ago

bolencki13 commented 8 years ago

`Scanning dependencies of target xpwn [ 61%] Building C object ipsw-patch/CMakeFiles/xpwn.dir/8900.c.o /Users/bolencki13/Documents/Programming/Jailbreak/iBoot/xpwn/ipsw-patch/8900.c:4:10: fatal error: 'openssl/aes.h' file not found

include <openssl/aes.h>

     ^

1 error generated. make[2]: * [ipsw-patch/CMakeFiles/xpwn.dir/8900.c.o] Error 1 make[1]: * [ipsw-patch/CMakeFiles/xpwn.dir/all] Error 2 make: *\ [all] Error 2 `

In El Capitan, OpenSSL has been replaced for Apple's library. This build will fail since it requires headers from the OpenSSL library.

bolencki13 commented 8 years ago

This issue can be solved by installing openssl with Homebrew. The openssl headers then need to be moved from "/usr/local/opt/openssl/include" to "/opt/X11/include".