[ROOT] Compiling MakeClass output

From: Douglas Roberts (dar@physics.umd.edu)
Date: Thu Oct 26 2000 - 20:48:28 MEST


Hi,
  I would like to compile the output from MakeClass, but compilation fails
because the .h file uses gROOT and TROOT.h isn't included.  By simply adding

#include <TROOT.h>

in the .h file from MakeClass, everything works just file.  Is there a
reason why the auto-generated code doesn't automatically include TROOT.h?
Or is there some other solution that doesn't involve going in by hand and
editing all my auto-generated .h file?

Thanks for any help,
Doug

Douglas Roberts
Department of Physics
University of Maryland
College Park, MD 20742
Office: Physics 4308
Phone: (301)405-6067
FAX: (301)699-9195



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:36 MET