hello,
I am trying to use pythia within root and am getting some errors. I have a Mac Os 10.10.1.
I have downloaded and unpacked pythia8205, changed to that directory, and ran :
./configure --enable-shared
make
Then I downloaded and unpacked root 5.34 (not sure exactly which package would be best for me),changed to the newly created root directory, and ran:
./configure --enable-pythia8 --with-pythia8-incdir=/Users/frizzell/pythia8205/include --with-pythia8-libdir=/Users/frizzell/pythia8205/lib
make
I get error messages as follows:
/Users/frizzell/root/montecarlo/pythia8/src/TPythia8.cxx:142:25: error: too many arguments to function call, expected 0, have 3
return fPythia->init(idAin, idBin, ecms);
~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~
/Users/frizzell/pythia8205/include/Pythia8/Pythia.h:114:3: note: ‘init’ declared here
bool init();
^
/Library/Developer/CommandLineTools/usr/bin/…/lib/clang/6.0/include/stdbool.h:37:15: note: expanded from macro ‘bool’
#define bool bool
^
/Users/frizzell/root/montecarlo/pythia8/src/TPythia8.cxx:150:25: error: too many arguments to function call, expected 0, have 4
return fPythia->init(idAin, idBin, eAin, eBin);
~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/frizzell/pythia8205/include/Pythia8/Pythia.h:114:3: note: ‘init’ declared here
bool init();
^
/Library/Developer/CommandLineTools/usr/bin/…/lib/clang/6.0/include/stdbool.h:37:15: note: expanded from macro ‘bool’
#define bool bool
^
/Users/frizzell/root/montecarlo/pythia8/src/TPythia8.cxx:317:13: error: no member named ‘statistics’ in 'Pythia8::Pythia’
fPythia->statistics();
3 errors generated.
make: *** [montecarlo/pythia8/src/TPythia8.o] Error 1
And root will not run. I'm not quite sure where to go from here and any help would be appreciated. I'm sure I haven't given enough information either so whatever I need to present let me know. I have tried different versions of root and pythia in the past trying to get this to work, but I am fairly positive I have all the residual files removed.
Thanks in advance