Here is my problem. I try to use ROOT (version 2.00.12) in batch.
My code is the following:
#include <iostream.h>
#include <TH1.h>
//=======================================================
// Main
//=======================================================
int main()
{
TH1F h1("h1","Time Frame",100,0,10) ;
return 0 ;
}
To compile on HPUX 10.20, i use the following command:
aCC -I. -I/opt/oo/include -I/opt/oo/Root-2.0.12/include
-DCLHEP_MAX_MIN_DEFINED -L/opt/oo/lib essai.C -lCLHEP-aCC
-L/opt/oo/Root-2.0.12/lib -lBase -lGX11 -lMeta -lTree -lCint -lGpad
-lMinuit -lUnix -lClib -lGraf -lNet -lX3d -lCont -lGraf3d -lNew -lEG
-lGui -lPostscript -lXpm -lHist -lProof -lZip -lHtml -lRGL -lFunc
-lMatrix -lRint -o essai
The compilation is ok, but when i want to run the executable i have :
Bus error (core dumped)
Why ?!?! The answer is maybe trivial since this is the first time i'm
trying to use ROOT...Any help would be appreciate.
Thank you,
Pascal Paganini.
-- Paganini Pascal LPNHE Ecole Polytechnique, 91128 Palaiseau France Phone: 33 1 69 33 30 97 Fax: 33 1 69 33 30 02 E-mail: paganini@in2p3.fr WWW: http://polhp5.in2p3.fr:8000/~paganini/