Fork me on GitHub

Opened 8 years ago

Last modified 8 years ago

#1049 new Bug

compilation error with Mac OS

Reported by: ahmed hammad Owned by:
Priority: minor Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description (last modified by Pavel Demin)

Dear Delphes authors,

Iam using Mac 10 elcaptian and during the compilation i got this error

>> Compiling tmp/external/ExRootAnalysis/ExRootAnalysisDict.cc
In file included from tmp/external/ExRootAnalysis/ExRootAnalysisDict.cc:13:
external/ExRootAnalysis/ExRootTreeWriter.h:33:8: warning: 'ExRootTreeWriter::Clear' hides overloaded virtual function [-Woverloaded-virtual]
  void Clear();
       ^
/usr/local/Cellar/root6/6.06.06/include/root/TNamed.h:46:21: note: hidden overloaded virtual function 'TNamed::Clear' declared here: different number of parameters (1 vs 0)
   virtual void     Clear(Option_t *option ="");
                    ^
In file included from tmp/external/ExRootAnalysis/ExRootAnalysisDict.cc:13:
external/ExRootAnalysis/ExRootTreeWriter.h:35:8: warning: 'ExRootTreeWriter::Write' hides overloaded virtual functions [-Woverloaded-virtual]
  void Write();
       ^
/usr/local/Cellar/root6/6.06.06/include/root/TObject.h:154:24: note: hidden overloaded virtual function 'TObject::Write' declared here: different number of parameters (3 vs 0)
   virtual Int_t       Write(const char *name=0, Int_t option=0, Int_t bufsize=0);
                       ^
/usr/local/Cellar/root6/6.06.06/include/root/TObject.h:155:24: note: hidden overloaded virtual function 'TObject::Write' declared here: different number of parameters (3 vs 0)
   virtual Int_t       Write(const char *name=0, Int_t option=0, Int_t bufsize=0) const;
                       ^
In file included from tmp/external/ExRootAnalysis/ExRootAnalysisDict.cc:63:
tmp/external/ExRootAnalysis/ExRootAnalysisDict.h:18:10: fatal error: 'G__ci.h' file not found
#include "G__ci.h"
         ^
2 warnings and 1 error generated.
make: *** [tmp/external/ExRootAnalysis/ExRootAnalysisDict.o] Error 1

kindly could you please help in this ??

Change History (2)

comment:1 by Pavel Demin, 8 years ago

Description: modified (diff)

comment:2 by Pavel Demin, 8 years ago

Looking at the error message:

In file included from tmp/external/ExRootAnalysis/ExRootAnalysisDict.cc:63:
tmp/external/ExRootAnalysis/ExRootAnalysisDict.h:18:10: fatal error: 'G__ci.h' file not found
#include "G__ci.h"

I'd say that the problem is with the ROOT installation.

G__ci.h should be in $ROOTSYS/include. If compiler doesn't find G__ci.h, then either the file isn't installed or ROOTSYS isn't set.

Could you try to go through the following checklist:

  • $ROOTSYS points to your ROOT installation
  • root-config --cflags returns correct path to the ROOT's include directory ($ROOTSYS/include)
  • G__ci.h is in the ROOT's include directory
Note: See TracTickets for help on using tickets.