Error msg mixed with welcome msg when getting started in 10.12.4 Sierra

Hey I just installed the pre-compiled version on and when I ran for the first time, I got this:

ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths!
  LC_ALL=C /Applications/  -O2 -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>
input_line_3:38:10: fatal error: 'string' file not found
#include <string>
  | Welcome to ROOT 6.08/06       |
  |                               (c) 1995-2016, The ROOT Team |
  | Built for macosx64                                         |
  | From tag v6-08-06, 2 March 2017                            |
  | Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' |

input_line_7:1:10: fatal error: 'iostream' file not found
#include <iostream>
root [0] 

Can anyone tell me why? I’ve installed the full Xcode and agreed to the new licence agreement of Xcode. Thanks
Btw, I can run .help .license with no errors


Did you install the xcode command line tools? xcode-select --install should help.


Thanks Axel. I basically reinstalled everything related to Xcode and now the error has gone. Thanks

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