Re: [ROOT] Libraries

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Apr 13 2000 - 16:28:51 MEST


Hi Ingo,
Following the restructuring of the libraries in 2.23, some libraries are 
not automatically linked with the Root executable. This is the case for:
libEG, libPhysics, libThread, libTreePlayer, libTreeViewer.
libTreePlayer and libTreeViewer are automatically loaded by the system
with
commands like;
 tree.Draw(), tree.Scan() or tree.StartViewer()
In case you want to invoke the TreeViewer directly, you effectively need
to
dynamically link libTreeViewer first.

In root 2.23, libPhysics must also be linked dynamically if used.
I have modified Root 2.24 to always link by default libPhysics and
libTreeViewer.

Rene Brun


Ingo Strauch wrote:
> 
> Hi rooters!
> 
> As so many new ROOT users stumble over problems like this
> 
> ----------------------------------------------------------------------------
> CINT/ROOT C/C++ Interpreter version 5.14.24, Nov 21 1999
> Type ? for help. Commands must be C++ statements.
> Enclose multiple statements between { }.
> 
> root [0] TTreeViewer *v=new TTreeViewer()
> Error: No symbol TTreeViewer in current scope  FILE:/tmp/19902baa_cint LINE:1
> *** Interpreter error recovered ***
> 
>  *** Break *** segmentation violation
> Root >
> ----------------------------------------------------------------------------
> 
> wouldn't it make sense to add a new help page to the ROOT site containing a
> list of all libraries which come with the ROOT distribution?! The information
> to be given should contain whether the library is loaded by default or not and
> which classes are included in it (and maybe the interdependencies).
> 
> I guess it would not be too much effort to create such a page and the benefit
> is worth the work...
> 
> Cheers,
>        Ingo
> 
> ----------------------------------------------------------------------------
> Ingo Strauch       Budapester Str. 30, 20359 Hamburg, Tel.: +49 40 7421 4722
> ----------------------------------------------------------------------------
> DESY, Group H1/AAC1, Room 1c354      | I.Phys.Inst. RWTH Aachen, Room 28B210
> Notkestr. 85, 22607 Hamburg          |       Sommerfeldstr. 14, 52056 Aachen
> Tel: +49 40 8998-2312 / Fax: -4385   |  Tel: +49 241 80-7183 / Fax: 8888-661
> strauch@mail.desy.de                 |   strauch@toots.physik.rwth-aachen.de
> ----------------------------------------------------------------------------
> www-h1.desy.de/~strauch/      or      www-users.rwth-aachen.de/Ingo.Strauch/
> ----------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:23 MET