THtml "Cannot determine declaration file name"

Hi, I tried to create some documentation for a class using THtml. I’ve used the ClassDef and ClassImp macros, but all I get are loads of messages like:

and some empty index pages in the output directory. I’m doing the following:

THtml html; html.SetOutputDir("./docs); html.SetSourceDir("./MyClass/src/:./MyClass/include/"); html.SetProductName("MyClass"); html.MakeClass("MyClass");

What am I doing wrong?




I have fixed a few things mentioned here: - it might now work for you. Could you give it a try? And by the way: THtml automatically tries to generate the doc for ROOT’s classes (because they are part of “all” classes it knows of), and that’s why it tells you that it doesn’t find their files. As you don’t want to generate the ROOT doc itself you can ignore them. Alternatively you can select a subset of classes using MakeAll(kTRUE, “My*”) and it will not complain about ROOT’s classes anymore.

Let me know how it works out for you. I’ll not around until next week, so excuses if my next reply will be slow.

Cheers, Axel.