GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » AGATA » AGATA - GammaWare » Issue during compilation of Gammaware
Issue during compilation of Gammaware [message #18511] Thu, 17 September 2015 16:56 Go to next message
Damian Ralet
Messages: 35
Registered: July 2014
Location: Darmstadt
continuous participant
From: 193.55.29*
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 \u2018virtual TF1* Gw::Peak1D::SetSignalFunction(const TF1*)\u2019:
/home/ralet/Software/AgataSoftware/addons/gw/src/root/physics/Peak1D.cpp :651:19: error: \u2018class TF1\u2019 has no member named \u2018Compile\u2019
if ( tmp->Compile() ) {
^
/home/ralet/Software/AgataSoftware/addons/gw/src/root/physics/Peak1D.cpp : In member function \u2018virtual TF1* Gw::Peak1D::SetBkgFunction(const TF1*)\u2019:
/home/ralet/Software/AgataSoftware/addons/gw/src/root/physics/Peak1D.cpp :804:19: error: \u2018class TF1\u2019 has no member named \u2018Compile\u2019
if ( tmp->Compile() ) {
^
/home/ralet/Software/AgataSoftware/addons/gw/src/root/physics/Peak1D.cpp : In member function \u2018virtual TF1* Gw::Peak1D::SetBkgFunction(const char*)\u2019:
/home/ralet/Software/AgataSoftware/addons/gw/src/root/physics/Peak1D.cpp :863:24: error: \u2018class TF1\u2019 has no member named \u2018Compile\u2019
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 [message #18512 is a reply to message #18511] Thu, 17 September 2015 16:58 Go to previous messageGo to next message
dudouet is currently offline  dudouet
Messages: 4
Registered: January 2015
Location: Lyon
occasional visitor
From: *in2p3.fr
Are you on ROOT6 ?

==> Oups, stupid question, I didn't read the end of your message....

[Updated on: Fri, 18 September 2015 09:42]

Report message to a moderator

Re: Issue during compilation of Gammaware [message #18513 is a reply to message #18512] Fri, 18 September 2015 09:32 Go to previous messageGo to next message
Damian Ralet
Messages: 35
Registered: July 2014
Location: Darmstadt
continuous participant
From: 193.55.29*
yes. On root 6.
Re: Issue during compilation of Gammaware [message #18514 is a reply to message #18513] Fri, 18 September 2015 09:38 Go to previous messageGo to next message
dudouet is currently offline  dudouet
Messages: 4
Registered: January 2015
Location: Lyon
occasional visitor
From: *in2p3.fr
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.
Re: Issue during compilation of Gammaware [message #18515 is a reply to message #18514] Fri, 18 September 2015 09:40 Go to previous message
Damian Ralet
Messages: 35
Registered: July 2014
Location: Darmstadt
continuous participant
From: 193.55.29*
Oh... I see. This is a pity.
Thanks for the answer.
Previous Topic: Install
Next Topic: Building GammaWare with gcc5.1
Goto Forum:
  


Current Time: Sat Nov 30 20:57:49 CET 2024

Total time taken to generate the page: 0.00644 seconds