Trying to compile this code I get the error: error: call to non-static member function without an object argument
ROOT::Fit::Fitter::LikelihoodFit(data);
-------------------------^----------------
Thank you for your answer, I don’t know what I’m doing wrong.
Riccardo
Hi,
Thank you for your answer, sadly now I’ve a new problem:
IncrementalExecutor::executeFunction: symbol '_ZN7vecCore4math3PowIdEET_RKS2_S4_' unresolved while linking [cling interface function]!
You are probably missing the definition of double vecCore::math::Pow<double>(double const&, double const&)
Maybe you need to load the corresponding shared library?
IncrementalExecutor::executeFunction: symbol '_ZN9__gnu_cxxL27__exchange_and_add_dispatchEPii' unresolved while linking [cling interface function]!
You are probably missing the definition of __gnu_cxx::__exchange_and_add_dispatch(int*, int)
Maybe you need to load the corresponding shared library?
Why is there this problem? What libraries do I need to load?
Thank you.
Riccardo