Hello,
I’m not sure if I should post here or in Newbie, as I am a Newbie trying to use Cling.
I installed Cling via Homebrew (brew install cling
) and it appeared to install fine. However, when I start Cling I received the error message:
warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk'
In file included from input_line_1:1:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/new:90:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/exception:81:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:85:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stdlib.h:97:15: fatal error: 'stdlib.h' file not found
#include_next <stdlib.h>
And indeed, I do not have the 11.0 SDK installed, because I have the 11.1 SDK installed. Is it possible to point Cling towards this? Should I also report this on the Homebrew forums?
Thanks for any help.