naraew
March 11, 2008, 4:20pm
1
Hi,
I have a problem with AddIncludePath:
In my rootlogon.C I have:
gSystem->AddIncludePath(" -I $Home/src ");
But when I check for it in the command line with .include it is not there. When I try to run a macro which needs these headers, it doesn’t work. But when I type directly in the command line
.include $Home/src
it is fine and the macro works as well.
Does anybody understand what’s going on???
Thanks,
Stephan
naraew
March 11, 2008, 5:09pm
3
I know. I saw this post before, but I don’t want to write .include Path every time in the command line (it works this way).
It doesn’t work in my rootlogon.C file, when I use AddIncludePath.
It has actually no effect.
add this line to rootlogon.C:gROOT->ProcessLine(".include $Home/src");
Jan
There is
for Cint:
gInterpreter->AddIncludePath()
for ACLiC:
gSystem->SetIncludePath()
Eddy