After installing version 6 of root I’m finding that gSystem->GetIncludePath includes a directory in the build tree (which no longer exists). This doesn’t seem to happen with version 5. Where is this path defined? Is it in a file that I can edit after installing root, or is it compiled into the root binaries?
Thanks for any information.
Bryan
_ROOT Version: 6.14.00
_Platform: CentOS 7
_Compiler: GNU gcc 4.8.5
Which directory is the problematic one?
The default include directory should be $ROOTSYS/include with the global variable $ROOTSYS pointing to the main directory of your root installation. It is declared in the thisroot.sh script everytimeyou initialize root.
Unless you have a .rootrc file in your home directory which declares Unix.*.Root.IncludePath: … there should be no problem. Maybe a leftover from a previous installation?
For what it’s worth, I’ve also tried setting Unix.*.Root.Include.Path and ACLiC.IncludePaths in system.rootrc, but this doesn’t change what I see from gSystem->GetIncludePath.
where it says that this function will “overwrite the existing path”. Experimenting with it, I find that it only ever appends onto the existing path. This happens under both root 5 and root 6.