Hi all,
I'm a new user of the root.
I want to automatically generate html document of the root result.
The following file is an example that I tried.
gamza% cat htmlex.C
{
//
// All ROOT tutorials as well as the class descriptions have been
// generated automatically by ROOT itself via the services of
// the THtml class. Please read this class description and
// begin_html<a href=../../Conventions.html>Coding Conventions</a></b>end_html.
// The following macro illustrates how to generate the html code
// for one class using the Make function.
// This example also shows how to convert to html a macro, including
// the generation of a "gif" file produced by the macro.
//
// How to generate HTML files for a single class
// (in this example class name is TBRIK), ...
gHtml.MakeClass("TBRIK");
//
// and how to generate html code for all classes, including an index.
//
//gHtml.MakeAll();
// execute a macro
//exec something.mac
// Invoke the TSystem class to execute a shell script.
// Here we call the "xpick" program to capture the graphics window
// into a gif file.
//gSystem.Exec("xpick html/gif/shapes.gif");
// Convert this macro into html
gHtml.Convert("htmlex.C","Automatic HTML document generation");
// The following line is an example of comment showing how
// to include HTML instructions in a comment line.
// here is the begin_html<a href="gif/shapes.gif">output</a> end_html
}
After I execute the root program, I tried to make a html documentation as following.
However, I have not successful results. Although I have an successful result on demos.C
Could anyone help this matter ?
The operational environment of the root is a solaris 8 on SPARC machine.
gamza% root htmlex.C
*******************************************
* *
* W E L C O M E to R O O T *
* *
* Version 3.01/00 25 April 2001 *
* *
* You are welcome to visit our Web site *
* http://root.cern.ch *
* *
*******************************************
CINT/ROOT C/C++ Interpreter version 5.14.83, Apr 5 2001
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
Welcome to the ROOT tutorials
Type ".x demos.C" to get a toolbar from which to execute the demos
Type ".x demoshelp.C" to see the help window
root [0]
Processing htmlex.C...
Error: illegal pointer to class object gHtml 0x0 534 FILE:htmlex.C LINE:15
*** Interpreter error recovered ***
root [1] .q
This is the end of ROOT -- Goodbye
regards,
------------------------------------
Sang-Eon Kim
Member of Technical Staff
Telecommunication Network Laboratory
Korea Telecom
Voice : +82-42-870-8321
FAX : +82-42-870-8339
E-mail : sekim@kt.co.kr
------------------------------------
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:44 MET