Hi!
Trying to make system independent script for htmldoc generation for my project I observed strange THtml behavior illustrated with the following example.
Why these lines of code works on linux and do nothing on windows:
Linux SL5, root 5.28
testhtml(){
THtml h;
h.SetProductName(“TEST”);
h.SetOutputDir(“htmldocs”);
h.SetInputDir("/sw/sources/root_5.28.00/hist/hist");
h.MakeAll();
}
Output:
Info in THtml::CreateListOfClasses: Initializing - this might take a while…
Info in THtml::TFileSysRoot::Recurse: scanning /sw/sources/root_5.28.00/hist/hist…
…
70 ./htmldocs/TF1.html
69 ./htmldocs/TF12.html
68 ./htmldocs/TF2.html
…
Windows7, VS2008, root5.28
testhtml(){
THtml h;
h.SetProductName(“TEST”);
h.SetOutputDir(“htmldocs”);
h.SetInputDir(“C:/sw/rootsrc/root/hist/hist”);
h.MakeAll();
}
Output:
Info in THtml::CreateListOfClasses: Initializing - this might take a while…
Info in THtml::TFileSysRoot::Recurse: scanning C:/sw/rootsrc/root/hist/hist…
…
Warning in THtml::CreateListOfClasses: TH1C [header include/TH1.h not found]
Warning in THtml::CreateListOfClasses: TH1D [header include/TH1.h not found]
Warning in THtml::CreateListOfClasses: TH1F [header include/TH1.h not found]
Warning in THtml::CreateListOfClasses: TH1I [header include/TH1.h not found]
…
Valeri