thanks for the suggestion, but it seems the class is unknown:
Error: link requested for unknown class AttributeListLayout inc/LinkDef.h:17:
Warning: Error occurred during reading source files
Warning: Error occurred during dictionary source generation
In fact I tried to look for that class in the ROOT doc but could not find it, so I am not sure how to include the corresponding header file in the Linkdef file ?
I don’t know from where you get the “AttributeListLayout” class, but you need to add something like a “AttributeListLayout.h” to the list of header files which are parsed, i.e. to the command line which runs rootcint.
If your root file contains “unknown” classes, generate appropriate dictionary using:
MyFile->MakeProject(“libMyFile”, “*”, “recreate++”);
See also: http://root.cern.ch/root/html/TFile.html#TFile:MakeProject
If this fails, you need to talk to those who created your root files.
Hello,
I am also facing the same problem, not for class AttributeListLayout, but for some arbitrary class ABC. I receive the following warning when opening a root file:
Warning in TClass::TClass: no dictionary for class ABC is available.
Questions:
What is “libMyFile” in
MyFile->MakeProject(“libMyFile”, “*”, “recreate++”); ?
What is a Linkdef file and how can I access it?
What is my general line of action assuming I have the header file defining the class ABC?