You should load libStar share library first NMake sure your local versio of ROOT contains libStar.so ls $ROOTSYS/lib/libStar/so then load that library into your ROOT session first: gSystem->Load("libStar") TString home = "$HOME"; TFileSet set(home); Hope this helps, Valeri -----Original Message----- From: Nicolas Produit <Nicolas.Produit@obs.unige.ch> To: roottalk@pcroot.cern.ch <roottalk@pcroot.cern.ch> Date: 1 èþëÿ 2002 ã. 19:01 Subject: [ROOT] problem with TFileSet Hi, I try the example in TFileSet code: isdcpc3:out 183> root ******************************************* * * * W E L C O M E to R O O T * * * * Version 3.02/07 25 January 2002 * * * * You are welcome to visit our Web site * * http://root.cern.ch * * * ******************************************* FreeType Engine v1.x used to render TrueType fonts. Compiled for linux with thread support. CINT/ROOT C/C++ Interpreter version 5.15.25, Jan 6 2002 Type ? for help. Commands must be C++ statements. Enclose multiple statements between { }. root [0] TString home = "$HOME"; root [1] TFileSet set(home); Error: Function TFileSetset(home) is not defined in current scope FILE:/tmp/file6Z0SHJ_cint LINE:1 Possible candidates are... filename line:size busy function type and name *** Interpreter error recovered *** root [2] .q isdcpc3:out 187> uname -a Linux isdcpc3 2.4.9-xfs #2 SMP Wed Sep 5 15:02:37 CEST 2001 i686 unknown -- Nicolas Produit INTEGRAL Science Data Center Phone: +41 22 950 91 40 16, Chemin d'Ecogia Fax: +41 22 950 91 33 CH-1290 Versoix www: http://isdc.unige.ch/
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:58 MET