Hi Nicolas, There are actually 2 include paths in a ROOT session. One belong to CINT (.include). The second belongs to TSystem (SetIncludePath). TSystem also uses CINT's include path but CINT does NOT uses TSystem's include path. Cheers, philippe. -----Original Message----- From: owner-roottalk@pcroot.cern.ch [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Nicolas Arnaud Sent: Tuesday, March 23, 2004 11:27 AM To: roottalk@pcroot.cern.ch Subject: [ROOT] setting the include path Hi rooters, I'm trying to set my include path as referenced in the chapter 6 of the ROOT manual. Below is shown the result of some commands: root [0] .include include path: -I/root/include root [1] gSystem->SetIncludePath( " -I/home/narnaud/RooFit/ " ); root [2] .include include path: -I/root/include root [3] .include /home/narnaud/RooFit/ root [4] .include include path: -I/root/include -I/home/narnaud/RooFit/ Why doesn't the [1] command work while [3] does -- the include path is only modified in the second case? Thanks in advance, Nicolas
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:06 MET