daijiang / phyr

Functions for phylogenetic analyses
https://daijiang.github.io/phyr/
GNU General Public License v3.0
30 stars 10 forks source link

math.h not found #38

Open daijiang opened 5 years ago

daijiang commented 5 years ago

On macOS, if see this error information when installing the package

/usr/local/clang4/bin/../include/c++/v1/math.h:301:15: fatal error: 'math.h' file not found

Do this in the terminal:

sudo installer -pkg \
/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg \
-target /