Re: include and Aclic

From: Axel Naumann <Axel.Naumann_at_cern.ch>
Date: Sun, 25 Jul 2010 00:27:35 +0200


Hi Marc,

Try gSystem->AddIncludePath("-I/path/to/header") I.e. prepend it with -I. I will make a patch for ROOT's doc to clarify that.

Cheers, Axel

"Marc Escalier" <escalier_at_lal.in2p3.fr> wrote:

>Hello,
>
>i try this minimal program with it fails with aclic because it doesn't
>find the included file in the class SelectorTest.C
>
>would you have an idea ?
>
>{
>TChain *mychain_data=new TChain("PAUReco");
>mychain_data->Add("file.root");
>mychain_data->Process("SelectorTest.C+"); //note the "+"
>}
>
>Where SelectorTest.C contains :
>...
>#include "GoodRunsLists/DQHelperFunctions.h"
>...
>
>(
>before to ask, i saw on google suggestions with
>gSystem->AddIncludePath("FullPathToPackage/InstallArea/include")
> and also
>.include, but it did help me to fix the problem
>)
>
>thank you
>
>
Received on Sun Jul 25 2010 - 00:27:42 CEST

This archive was generated by hypermail 2.2.0 : Sun Jul 25 2010 - 05:50:01 CEST