Hello all,
I’ve got the problem during compilation of GEANT3 (cvs HEAD version) and new ROOT 4.01/02. I was trying to compile GEANT3 with -DWITHROOT option (adding it into Makefile):
C++ compilation flags
CXXFLAGS := $(CXXOPTS) $(CLIBCXXOPTS) -I. -I$(ROOT_INCDIR) -ITGeant3 -DWITHROOT
Here is errorreport of compilation:
…
TGeant3/TGeant3.cxx
TGeant3/TGeant3.cxx: In member function Int_t TGeant3::NofVolDaughters(const char*) const': TGeant3/TGeant3.cxx:1571: error:
NofVolDaughters’ undeclared (first use this
function)
TGeant3/TGeant3.cxx:1571: error: (Each undeclared identifier is reported only
once for each function it appears in.)
TGeant3/TGeant3.cxx: In member function const char* TGeant3::VolDaughterName(const char*, int) const': TGeant3/TGeant3.cxx:1594: error:
VolDaughterName’ undeclared (first use this
function)
TGeant3/TGeant3.cxx: In member function Int_t TGeant3::VolDaughterCopyNo(const char*, int) const': TGeant3/TGeant3.cxx:1617: error:
VolDaughterCopyNo’ undeclared (first use this
function)
make: *** [tgt_linux/TGeant3/TGeant3.o] Error 1
What I did wrong ?
Thanks in advance,
Sergey