GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » CBM » CBMROOT » General » Error in installation of CBM ROOT using auto-install command (Error found in installation CBMROOT: JUN16, FAIRSOFT ::may16p1, FAIRROOT :: v-16.06b)
Error in installation of CBM ROOT using auto-install command [message #21085] Wed, 24 May 2017 09:14 Go to previous message
Buddhadeb Bhattacharjee is currently offline  Buddhadeb Bhattacharjee
Messages: 5
Registered: March 2008
Location: Guwahati, India
occasional visitor
From: 150.107.230*
Dear all,

I wa trying to install the latest version of CBM simulation software in ubuntu 16.04. While FAIRSOFT and FAIRROOT could be installed successfully, an error occured in the intallation of CBMROOT. Error messages are given below It would be a great help if someone helps me to sort out the issue.

Error messages:

======================================================================== =================================
1.

FSOFTVER: may16p1
FROOTVER: v-16.06b
number of parameters: 3
Install Fairsoft: 0
Install Fairroot: 0
Install Cbmroot : 1

Setting up Cbmroot ...
SIMPATH before:
SIMPATH now : /home/somen/cbmsoft/cbmroot/fairsoft_may16p1_root5/installation
FAIRROOTPATH: /home/somen/cbmsoft/cbmroot/fairroot_v-16.06b-fairsoft_may16p1_root5
Updating 'fieldmaps':
At revision 11694.
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- NOT Found FAIRBASE
-- Setting FairRoot environment...


======================================================================== ===========================================================
2.

/home/somen/cbmsoft/cbmroot/JUN16/field/CbmFieldCreator.cxx: In member function 'virtual FairField* CbmFieldCreator::createFairField()':
/home/somen/cbmsoft/cbmroot/JUN16/field/CbmFieldCreator.cxx:65:25: error: no matching function for call to 'FairField::Print()'
fMagneticField->Print();
^
In file included from /home/somen/cbmsoft/cbmroot/JUN16/field/CbmFieldConst.h:22:0,
from /home/somen/cbmsoft/cbmroot/JUN16/field/CbmFieldCreator.cxx:4:
/home/somen/cbmsoft/cbmroot/fairroot_v-16.06b-fairsoft_may16p1_root5/inc lude/FairField.h:131:19: note: candidate: virtual void FairField::Print(Option_t*) const
virtual void Print(Option_t*) const {;}
^
/home/somen/cbmsoft/cbmroot/fairroot_v-16.06b-fairsoft_may16p1_root5/inc lude/FairField.h:131:19: note: candidate expects 1 argument, 0 provided
field/CMakeFiles/CbmField.dir/build.make:294: recipe for target 'field/CMakeFiles/CbmField.dir/CbmFieldCreator.cxx.o' failed
make[2]: *** [field/CMakeFiles/CbmField.dir/CbmFieldCreator.cxx.o] Error 1
CMakeFiles/Makefile2:1245: recipe for target 'field/CMakeFiles/CbmField.dir/all' failed
make[1]: *** [field/CMakeFiles/CbmField.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

======================================================================== ===========================================================
3.
[ 14%] Building CXX object data/CMakeFiles/CbmData.dir/G__CbmDataDict.cxx.o
/home/somen/cbmsoft/cbmroot/JUN16/build/data/G__CbmDataDict.cxx: In function 'int G__G__CbmDataDict_967_0_16(G__value*, const char*, G__param*, int)':
/home/somen/cbmsoft/cbmroot/JUN16/build/data/G__CbmDataDict.cxx:23344:90 : warning: 'Int_t CbmTofHit::GetRefId() const' is deprecated [-Wdeprecated-declarations]
G__letint(result7, 105, (long) ((const CbmTofHit*) G__getstructoffset())->GetRefId());
^
In file included from /home/somen/cbmsoft/cbmroot/JUN16/build/data/G__CbmDataDict.h:85:0,
from /home/somen/cbmsoft/cbmroot/JUN16/build/data/G__CbmDataDict.cxx:17:
/home/somen/cbmsoft/cbmroot/JUN16/data/tof/CbmTofHit.h:70:9: note: declared here
Int_t GetRefId() const __attribute__ ((deprecated)) { return -1; }
^
[ 15%] Linking CXX shared library ../lib/libCbmData.so
[ 15%] Built target CbmData
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
ln: failed to create symbolic link './field_v12a.root': File exists
ln: failed to create symbolic link './field_v12b.root': File exists
ln: failed to create symbolic link './field_v16a.root': File exists
done installing CbmRoot

. build/config.sh
export SIMPATH=/home/somen/cbmsoft/cbmroot/fairsoft_may16p1_root5/installation
export FAIRROOTPATH=/home/somen/cbmsoft/cbmroot/fairroot_v-16.06b-fairsoft_may1 6p1_root5

======================================================================== =============================================================





Thanking you so much in anticipation.

Somen

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Wrong invariant mass spectra
Next Topic: "tof_sim.C " compilation error
Goto Forum:
  


Current Time: Sat Dec 04 12:27:58 CET 2021

Total time taken to generate the page: 0.01995 seconds