//int
//main(int argc, char **argv)
int
main()
{ //-----------------------------
// the start point of the program
//---------------------------------
return 0;
} // main()
when I do compilation - it works , BUT during running
I see the error:
root [0] .L test2.cxx+
Info in TUnixSystem::ACLiC: creating shared library /home/babintsev/tmp/tt/./test2_cxx.so
root [1] main()
Error in TApplication::TApplication: only one instance of TApplication allowed
I have some problems with my code “plot_th23dcp.C” and I attached with folder. I don’t know why I can run this code in root 6 but can’t run it in root5. Please help me. Error_root5.zip (1.4 MB)
Thank you. But I can’t run this code yet.
I met this error:
Error: Symbol ,chisq[NPOINT] is not defined in current scope plot_th23dcp.C:121:
Error: Symbol ,chisq[NPOINT] is not defined in current scope plot_th23dcp.C:121:
Error: Invalid type 'double_t' in declaration of 'dcptest' plot_th23dcp.C:121:
Error: Symbol double_t dcptest[NPOINT],chisq[NPOINT] is not defined in current scope plot_th23dcp.C:121:
*** Interpreter error recovered ***
root [1]
I hope you can try to run and let me know how to edit them.