You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The llvm/clang++ compiler used and provided by mason needs a full XCode installation available. Otherwise you'll hit a warning like:
clang-5.0: warning: no such sysroot directory: '/Library/Developer/CommandLineTools/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk' [-Wmissing-sysroot]
And an error when the program tries to use something from the C standard library. For example:
fatal error: 'stdlib.h' file not found
#include <stdlib.h>
^~~~~~~~~~
1 error generated.
But this error will depend on what of the C standard library is being requested.
The way to solve this is for OS X users to install a full version of XCode.
This reliance on a full version of XCode is due to this line in our compiler config:
Or, we could try to get the default build of LLVM changed such that it does work with the command line tools.
Debugging locally with @millzpaugh and @AllieOop we found that clang++ v5.0.1 from mason could be made to work without XCode (and only the "command line tools" install) by passing:
The llvm/clang++ compiler used and provided by mason needs a full XCode installation available. Otherwise you'll hit a warning like:
And an error when the program tries to use something from the C standard library. For example:
But this error will depend on what of the C standard library is being requested.
The way to solve this is for OS X users to install a full version of XCode.
This reliance on a full version of XCode is due to this line in our compiler config:
mason/scripts/llvm/base/common.sh
Line 230 in 6aa9591
The text was updated successfully, but these errors were encountered: