akira-okumura / RHEA

高エネルギー宇宙物理学のための ROOT 入門 – ROOT for High-Energy Astrophysics (RHEA)
27 stars 2 forks source link

ROOT 6.06.02ー起動時の問題 #5

Closed akiraasano closed 6 years ago

akiraasano commented 8 years ago

-問題点- ROOT 5.24.00をmacにインストールした状態(正常に起動している)で、 ROOT 6.06.02を追加でインストールしてROOTを起動後、以下のエラーが表示された

$root
**input_line_1:1:10: fatal error: file**
      '/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/new'
      modified since it was first processed
#include 
         ^
**input_line_3:38:10: fatal error: file**
      '/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/string'
      modified since it was first processed
#include <string>
         ^
   ----------------------------------------------------------------
  | Welcome to ROOT 6.06/02                    http://root.cern.ch |
  |                                   (c) 1995-2014, The ROOT Team |
  | Built for macosx64                                             |
  | From heads/master@v6-07-02-437-gb06340c, Mar 02 2016, 19:01:57 |
  | Try '.help', '.demo', '.license', '.credits', '.quit'/'.q'     |
   ----------------------------------------------------------------

**input_line_8:1:10: fatal error: file**
      '/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iostream'
      modified since it was first processed
#include <iostream>
         ^
root [0] 
akira-okumura commented 8 years ago

Xcode.app を立ち上げて、license が表示されたら agree してみてください。