GSI Forum - RDF feed
type: channel
description: GSI Helmholtzzentrum für Schwerionenforschung
items: Issue during compilation of Gammaware
items: Re: Issue during compilation of Gammaware

Issue during compilation of Gammaware
type: item
description: Hello, I am trying to install the package from scratch. After compiling and installing adf, boost, skstream, femul without any problems, I tryed gammaware. I got the following compilation error: Building CXX object src/root/physics/CMakeFiles/GWPHYSICS.dir/Peak1D.cpp.o /home/ralet/Software/AgataSoftware/addons/gw/src/root/physics/Peak1D.cpp : In member function ‘virtual TF1* Gw::Peak1D::SetSignalFunction(const TF1*)’: /home/ralet/Software/AgataSoftware/addons/gw/src/root/physics/Peak1D.cpp :651:19: error: ‘class TF1’ has no member named ‘Compile’ if ( tmp->Compile() ) { ^ /home/ralet/Software/AgataSoftware/addons/gw/src/root/physics/Peak1D.cpp : In member function ‘virtual TF1* Gw::Peak1D::SetBkgFunction(const TF1*)’: /home/ralet/Software/AgataSoftware/addons/gw/src/root/physics/Peak1D.cpp :804:19: error: ‘class TF1’ has no member named ‘Compile’ if ( tmp->Compile() ) { ^ /home/ralet/Software/AgataSoftware/addons/gw/src/root/physics/Peak1D.cpp : In member function ‘virtual TF1* Gw::Peak1D::SetBkgFunction(const char*)’: /home/ralet/Software/AgataSoftware/addons/gw/src/root/physics/Peak1D.cpp :863:24: error: ‘class TF1’ has no member named ‘Compile’ if ( fBkgFunc->Compile() ) { ^ make[2]: *** [src/root/physics/CMakeFiles/GWPHYSICS.dir/Peak1D.cpp.o] Error 1 make[1]: *** [src/root/physics/CMakeFiles/GWPHYSICS.dir/all] Error 2 make: *** [all] Error 2 [compile] DONE For information, I am using root 6.05/1 compiled from source with the python option. Is there anyone that had the same issue? Any idea? Cheers, Damian
creator: Damian Ralet
date: 2015-09-17T14:56:37-00:00

Re: Issue during compilation of Gammaware
type: item
description: Are you on ROOT6 ? ==> Oups, stupid question, I didn't read the end of your message....
creator: dudouet
date: 2015-09-17T14:58:14-00:00

Re: Issue during compilation of Gammaware
type: item
description: yes. On root 6.
creator: Damian Ralet
date: 2015-09-18T07:32:00-00:00

Re: Issue during compilation of Gammaware
type: item
description: This is why it crashed. The Compile method of the TF1 has been modified in the latest versions of ROOT6 and we have to modify this class to take it into account. Olivier will try to do this today. But in any case, if you need in the future to replay root trees from AGATA and VAMOS, you will need to work on a ROOT5 environment. For the moment, the VAMOS libraries are not compatible with ROOT6.
creator: dudouet
date: 2015-09-18T07:38:51-00:00

Re: Issue during compilation of Gammaware
type: item
description: Oh... I see. This is a pity. Thanks for the answer.
creator: Damian Ralet
date: 2015-09-18T07:40:50-00:00