Problem of Minuit2

Hi,

I am trying to run Minuit2 test sample Quad4FMain.cxx within ROOT.
http://seal.web.cern.ch/seal/MathLibs/5_0_8/Minuit2/html/Quad4FMain_8cxx-source.html

It is run on the server via Xshell. ROOT version is 5.14 and Minuit2 is 5.14.00.

If I input

root Quad4FMain.cxx (or root -l Quad4FMain.cxx)

the error is

Processing Quad4FMain.cxx…
Limitation: Reference member not supported. Please use pointer Minuit2/ABObj.h:98:
*** Interpreter error recovered ***

Any help will be appreciated!
Thanks,
Yi

cd /WhereYouHaveTheRootSourceCode/math/minuit2/test/MnTutorial make ./test_Minuit2_Quad4F

[quote=“Pepe Le Pew”]cd /WhereYouHaveTheRootSourceCode/math/minuit2/test/MnTutorial make ./test_Minuit2_Quad4F[/quote]

Thanks Pepe Le Pew!
I knew ./test_Minuit2_Quad4F will come out some results. But I am curious about HOW they come. Does Quad4FMain.cxxc have to be ompiled first or something?
If I would like to write my own program, what should I do? For example, I read Minuit User Guide in which there is a complete example of Gaussian (including four code files) in the end. However, it is unclear for me how to make use of them.

Best Regards,
Yi

http://root.cern.ch/drupal/content/numerical-minimization
http://root.cern.ch/root/html/tutorials/
A better place to ask such questions is the “Stat and Math Tools” forum.

[quote=“Pepe Le Pew”]http://root.cern.ch/drupal/content/numerical-minimization
http://root.cern.ch/root/html/tutorials/
A better place to ask such questions is the “Stat and Math Tools” forum.[/quote]

Thanks a lot for your help!