Makeclass cant find header file information

Hi all,

I am having an issue with makeclass. When I load the .C file I get this error:

IncrementalExecutor::executeFunction: symbol '_ZN16GetFakeRate_KaonC1EP5TTree' unresolved while linking [cling interface function]!
You are probably missing the definition of GetFakeRate_Kaon::GetFakeRate_Kaon(TTree*)
Maybe you need to load the corresponding shared library?

But the definition is in the header file and I have #include "GetFakeRate_Kaon.h" at the top of the .C file.

GetFakeRate_Kaon.h (11.0 KB)
GetFakeRate_Kaon.C (52.4 KB)

I have never had to upload a library before when using makeclass, so I do not know what this error is for.

Any help would be appreciated!

I use version 6.10/04 (on lxplus).


The names given after the #define in GetFakeRate_Kaon.C:4

#define GetFakeRate_Kaon_C

and the #ifdef in GetFakeRate_Kaon.h:127`

#ifdef GetFakeRate_Kaon_cxx

need to be the same

Thanks! That worked!!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.