[llvm-dev] Clang8 on MacOS 10.14

Jacob Carlborg via llvm-dev llvm-dev at lists.llvm.org
Fri Jun 14 12:09:01 PDT 2019


On 2019-06-14 09:58, Tim Northover via llvm-dev wrote:

> You're going to need a normal copy of Xcode installed to provide the
> system headers and libraries; and macOS has been moving away from
> putting anything in /usr/include even with the command line tools.

Exactly. Installing the command line tools on macOS 10.13 will create 
/usr/include, but not on 10.14. To get /usr/include on macOS 10.14 you 
need to install an extra package:

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

Have a look at:

https://apple.stackexchange.com/questions/337940/why-is-usr-include-missing-i-have-xcode-and-command-line-tools-installed-moja

-- 
/Jacob Carlborg



More information about the llvm-dev mailing list