CommonCrypto icon indicating copy to clipboard operation
CommonCrypto copied to clipboard

Header '/usr/include/CommonCrypto/CommonCrypto.h' not found

Open iandundas opened this issue 6 years ago • 2 comments

Trying the change introduced by https://github.com/soffes/CommonCrypto/pull/7 (instead of the unmerged https://github.com/soffes/CommonCrypto/pull/2), I now get the following when compiling:

image

Is there possibly an extra step required to get this to work? (Not super sure what the path there refers to, as it doesn't exist on my system.)

iandundas avatar Mar 27 '18 13:03 iandundas

This is broken for me as well but works on my coworkers computer. I do not think we can assume /usr/include/CommonCrypto exists. The previous implementation just assumed /Applications/Xcode.app exist, which is far more likely. I think Pull Request #7 needs to be reverted.

lstomberg avatar Apr 13 '18 14:04 lstomberg

Important details for Mojave which is a breaking change.

https://developer.apple.com/documentation/xcode_release_notes/xcode_10_release_notes#3035624

https://github.com/pyenv/pyenv/wiki#suggested-build-environment

brennanMKE avatar Feb 01 '19 22:02 brennanMKE