Closed drewcassidy closed 6 years ago
install openssl with brew?
I compiled an old version of this on my mac. but it was easily a year ago, and I can't remember what version or what hoops I had to jump through.
I did do brew install openssl
Apple has since switched away from using openSSL themselves, so I think any implementation that previously relied on the built in version has trouble now. I don't understand enough about how homebrew and cmake work to figure this out though. I tried editing PATH
and passing different flags to cmake with no luck
So, openssl
in homebrew is keg-only (not linked into system path), so there is no way cmake will find it without help. Try setting CMAKE_PREFIX_PATH
to tell cmake where to look for it.
Like: $ CMAKE_PREFIX_PATH=/usr/local/opt/openssl cmake ../pok3r_re_firmware
(i think you only need this the first time you run cmake)
Seems I didn't have this issue before because cmake was finding another openssl installed by macports. This should either go into documentation for libchaos, or the openssl dependency should be extracted on osx.
Should I assume this is resolved?
ok uh... it no longer fails but I have no idea where to find the output
nevermind didnt realize it just made a makefile. I'm getting a different error though which I'll open a different issue for
attempting to compile this with cmake on macOS has resulted in failures due to the requirement of openSSL.