GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » General Discussion » New update of fairroot not building properly
New update of fairroot not building properly [message #13359] Tue, 17 April 2012 17:50 Go to previous message
Raghav Kunnawalkam is currently offline  Raghav Kunnawalkam
Messages: 63
Registered: February 2012
Location: Stony Brook, New York
continuous participant
From: *physics.sunysb.edu
Hi All

I just updated my fairroot (after a break of about 3 weeks) and now it is giving me a lot of errors particularly in the examples, Tutorial1, 2 and rutherford.

Scanning dependencies of target Tutorial1
[ 59%] Building CXX object example/Tutorial1/src/CMakeFiles/Tutorial1.dir/FairTutorialDet.o
[ 59%] Building CXX object example/Tutorial1/src/CMakeFiles/Tutorial1.dir/FairTutorialDetContFact.o
[ 60%] Building CXX object example/Tutorial1/src/CMakeFiles/Tutorial1.dir/FairTutorialDetGeoPar.o
[ 60%] Building CXX object example/Tutorial1/src/CMakeFiles/Tutorial1.dir/FairTutorialDetPoint.o
[ 60%] Building CXX object example/Tutorial1/src/CMakeFiles/Tutorial1.dir/FairTutorial1Dict.o
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx : In function ‘void G__cpp_setup_inheritanceFairTutorial1Dict()’:
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1443: error: ‘FairBasePoint’ was not declared in this scope
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1443: error: ‘G__Lpbase’ was not declared in this scope
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1443: error: expected primary-expression before ‘)’ token
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1443: error: expected `;' before ‘G__Lderived’
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1447: error: ‘FairTimeStamp’ was not declared in this scope
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1447: error: ‘G__Lpbase’ was not declared in this scope
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1447: error: expected primary-expression before ‘)’ token
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1447: error: expected `;' before ‘G__Lderived’
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1455: error: ‘FairLinkedData’ was not declared in this scope
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1455: error: ‘G__Lpbase’ was not declared in this scope
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1455: error: expected primary-expression before ‘)’ token
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1455: error: expected `;' before ‘G__Lderived’
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1536: error: ‘FairLinkedData’ was not declared in this scope
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1536: error: ‘G__Lderived’ was not declared in this scope
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1537: error: expected primary-expression before ‘)’ token
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1537: error: expected `;' before numeric constant
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1547: error: ‘FairLinkedData’ was not declared in this scope
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1547: error: ‘G__Lpbase’ was not declared in this scope
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1547: error: expected primary-expression before ‘)’ token
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1547: error: expected `;' before ‘G__Lderived’
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1556: error: ‘FairTimeStamp’ was not declared in this scope
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1556: error: ‘G__Lderived’ was not declared in this scope
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1557: error: expected primary-expression before ‘)’ token
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1557: error: expected `;' before numeric constant
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1563: error: ‘FairLinkedData’ was not declared in this scope
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1563: error: ‘G__Lpbase’ was not declared in this scope
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1563: error: expected primary-expression before ‘)’ token
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1563: error: expected `;' before ‘G__Lderived’
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1572: error: ‘FairBasePoint’ was not declared in this scope
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1572: error: ‘G__Lderived’ was not declared in this scope
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1573: error: expected primary-expression before ‘)’ token
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1573: error: expected `;' before numeric constant
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1575: error: ‘FairTimeStamp’ was not declared in this scope
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1575: error: ‘G__Lpbase’ was not declared in this scope
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1575: error: expected primary-expression before ‘)’ token
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1575: error: expected `;' before ‘G__Lderived’
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1583: error: ‘FairLinkedData’ was not declared in this scope
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1583: error: ‘G__Lpbase’ was not declared in this scope
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1583: error: expected primary-expression before ‘)’ token
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1583: error: expected `;' before ‘G__Lderived’
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1595: error: ‘FairBasePoint’ was not declared in this scope
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1595: error: ‘G__Lpbase’ was not declared in this scope
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1595: error: expected primary-expression before ‘)’ token
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1595: error: expected `;' before ‘G__Lderived’
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1599: error: ‘FairTimeStamp’ was not declared in this scope
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1599: error: ‘G__Lpbase’ was not declared in this scope
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1599: error: expected primary-expression before ‘)’ token
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1599: error: expected `;' before ‘G__Lderived’
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1607: error: ‘FairLinkedData’ was not declared in this scope
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1607: error: ‘G__Lpbase’ was not declared in this scope
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1607: error: expected primary-expression before ‘)’ token
/Users/raghav/fairroot/build/example/Tutorial1/src/FairTutorial1Dict.cxx :1607: error: expected `;' before ‘G__Lderived’
make[2]: *** [example/Tutorial1/src/CMakeFiles/Tutorial1.dir/FairTutorial1Dict.o] Error 1
make[1]: *** [example/Tutorial1/src/CMakeFiles/Tutorial1.dir/all] Error 2
make: *** [all] Error 2



I dont know if i can change anything in the fairtutorial1dict.cxx file because it is generated by cmake.

Any help would be greatly appreciated.
Cheers
Raghav
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Multiple input files / trees
Next Topic: Detector materials with radiation length not equal to zero
Goto Forum:
  


Current Time: Tue Nov 30 10:34:25 CET 2021

Total time taken to generate the page: 0.02071 seconds