there is no .C. I’ve added the following line to the script that run the proof session:
p->Load("../commons/bins/bin_definition.h+")
It produce the output:
12:44:19 3384 Mst-0 | Info in <TXProofServ::HandleCache>: loading macro bin_definition.h+ ...
12:44:19 29352 Wrk-0.1 | Info in <TXProofServ::HandleCache>: loading macro bin_definition.h+ ...
12:44:19 5771 Wrk-0.0 | Info in <TXProofServ::HandleCache>: loading macro bin_definition.h+ ...
...
but the processing doesn’t start! If I look at the logs I can found:
In file included from /tmp/rootcint_RdL8O1.h:3,
from /tmp/OeMCf3_cint.cxx:1:
/proof/workingdirs/turra/session-t2-wn-11-1288176639-3746/worker-0.5-t2-wn-11-1288176642-3764/./twosidebands_dumper.C:9:44: ../commons/bins/bin_definition.h: No such file or directory
Error: external preprocessing failed. :0:
!!!Removing /proof/workingdirs/turra/session-t2-wn-11-1288176639-3746/worker-0.5-t2-wn-11-1288176642-3764/twosidebands_dumper_C_ACLiC_dict.cxx /proof/workingdirs/turra/session-t2-wn-11-1288176639-3746/worker-0.5-t2-wn-11-1288176642-3764/twosidebands_dumper_C_ACLiC_dict.h !!!
Error: /gpfs/storage_4/users/home/proof/root/bin/rootcint: error loading headers...
12:51:07 3764 Wrk-0.5 | Error in <ACLiC>: Dictionary generation failed!
12:51:07 3764 Wrk-0.5 | Info in <ACLiC>: Invoking compiler to check macro's validity
/proof/workingdirs/turra/session-t2-wn-11-1288176639-3746/worker-0.5-t2-wn-11-1288176642-3764/./twosidebands_dumper.C:9:44: ../commons/bins/bin_definition.h: No such file or directory
If it try to compile the TSelector by myselft it compiles well:
On the other hand, if you keep the name of the implementation file and of the header file the same (modulo
the extension, of course) life is much easier, because you can just load the implementation file via TProof::Load and everything should be automatically set.
[quote=“ganis”]
On the other hand, if you keep the name of the implementation file and of the header file the same (modulo
the extension, of course) life is much easier, because you can just load the implementation file via TProof::Load and everything should be automatically set.
Gerri[/quote]
Yes, it’s what I’m doing, I’ve created a bin_definition.C with only #include bin_definition.h
[quote=“ganis”][quote]
Yes, it’s what I’m doing, I’ve created a bin_definition.C with only #include bin_definition.h
[/quote]
And this does not work?
What is the error? It cannot be the same you posted at the beginning …
Gerri[/quote]
Sorry, it works, the problem is that it’s very boring to create tens of symlinks for every headers included.