lxpub2> make
g++ -O -pipe -L/user/adeprell/root/lib -lASImage -lGraf -lCore -lCint -lHist -lHistPainter -lGpad -lMatrix -I/user/adeprell/root/include test_histo.c -o test_histo
lxpub2> ./test_histo TCanvas::MakeDefCanvas: created default TCanvas with name c1
lxpub2>[/code]
So this script launched standalone in a shell is well running but no histogram does appear…
PS: when I launch the script in CINT (.x test_histo), the histogram is well appearing.
What’s wrong with this ?
I have a question in relation with TApplication::Run().
The function doesn’t seem to give back the hand to the program which call it.
So I launched the Run() routine in another thread while the main thread will fill the histo. Is it possible ?
My method seems wrong…
Here is a snip of the output: