GSI Helmholtzzentrum für Schwerionenforschung
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
Re: Issue during compilation of Gammaware
Are you on ROOT6 ? ==> Oups, stupid question, I didn't read the end of your message....
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.
Oh... I see. This is a pity. Thanks for the answer.