Re: .so libs & reading objects from a TFile

Rene Brun (Rene.Brun@cern.ch)
Tue, 18 May 1999 16:37:59 +0000


Hi Jorg,
Sorry for the confusion. I understood that you were using an interactive
macro, not a compiled program.
I suspect a missing include or like in your batch program.
Could you send me (not the list) a copy of your small program.

Rene Brun

J. Rieling wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
>
> dear Rene,
>
> you wrote:
>
> > My guess is that your saved Canvas contains objects with classes
> > in your shared libs. You must dynamic link these classes before
> > importing the Canvas in memory.
>
> yes, certainly, but this is not the case.
> the canvas contains a few rather conservative root objects
> (TH2F's, TMarkers, a TLine, TPolymarkers etc... the only probably
> unusual(?) thing is a small array of TMarkers).
>
> another hint is that the naked interactive root can also deal with the
> canvas, i.e. the sequence
>
> tf = new TFile ("foo.root")
> canvas->Draw()
>
> works w/o problems also if i didn't tell root about my creations.
>
> cu,
>
> j"org.
>
> __________________________________________________________________________
> dr. j. rieling / daimlerChrysler aerospace, orbital systems & operations
> fon +49 421 5395643 fax +49 421 5395127 joerg.rieling@ri.dasa.de
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGPfreeware 5.0i for non-commercial use
> Charset: noconv
>
> iQCVAwUBN0GG7Tj2v2S/jY1FAQGz3AQAka+LEaoQFnESkl0zVgwUoKf4SdYOMpDJ
> T9rXtMH8hQJiMX79Xfa/1BhPZNIVyV5c7jQUjBB5p6fQUnMcWTjeGVs0LGooLYs3
> C+5Mm/dEK9wCAMv+Y9GxYgZZIXD/defUlcqN0mugErYuxS8D03RyzdkIZkAJS4Ly
> HW5Ub7gsKVs=
> =1B9b
> -----END PGP SIGNATURE-----