Using the new Minimizer class on ROOT 5

Check if your ROOT has “minuit2” enabled:
root-config --features

If not, you will need to rebuild your ROOT 5 from scratch.

Try to run the macro version which comes with your ROOT:
${ROOTSYS}/tutorials/fit/NumericalMinimization.C