How to use binary distribution of Cling (mac)?

I’ve downloaded the latest binary of Cling and can run it from the Terminal. However, it reports that it cannot find various standard libraries:

ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths!
  LC_ALL=C /Applications/   -O3 -DNDEBUG -xc++ -E -v /dev/null 2>&1 >/dev/null | awk '/^#include </,/^End of search/{if (!/^#include </ && !/^End of search/){ print }}' | GREP_OPTIONS= grep -E "(c|g)\+\+"
Results was:
With exit code 256
input_line_1:1:10: fatal error: 'new' file not found
#include <new>
Warning in cling::IncrementalParser::CheckABICompatibility():
  Possible C++ standard library mismatch, compiled with _LIBCPP_VERSION '3700'
  Extraction of runtime standard library version was: ''

****************** CLING ******************
* Type C++ code and press enter to run it *
*             Type .q to exit             *
[cling]$ .q

What should I be setting to allow Cling to run?

Did you install Xcode?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.