Dear David and Axel
wonderful !!
thanks to your help, it works
(
David just for information, in the case of SetIncludePath, i had
to put
the directory to "package/DataQuality/GoodRunsLists" :
in the case where i put "package/InstallArea/include", it didn't work
but this is not important : it works with the full path to
DataQuality/GoodRunsLists
)
thanks again
> 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:40:59 CEST
This archive was generated by hypermail 2.2.0 : Mon Jul 26 2010 - 17:50:01 CEST