OSX DStep / Standard Includes

Jacob Carlborg doob at me.com
Sat Apr 27 09:36:26 UTC 2019


On 2019-04-26 23:16, Jacob Carlborg wrote:

> You need to install the Xcode command line tools, by running
> "xcode-select --install". This will create the "/usr/include" directory.
>
> I'm guessing this is because DStep is linked against the open source
> version of Clang and not the one provided by Apple. The one provided by
> Apple might be built/configured differently.

If you're on macOS Mojave you need to run this command as well:

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

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list