Do:
root > .L myclass.cxx+
root > .x macro.C
or
root > gROOT->ProcessLine(".L myclass.cxx+");
root > .x macro.C
Rene Brun
John Zoidberg wrote:
> I know it's possible to load/compile the class first and then the
> macro, but how can I link to the compiled class directly?
>
> On 4/23/07, *John Zoidberg* <zohn.joidberg_at_gmail.com
> <mailto:zohn.joidberg_at_gmail.com>> wrote:
>
> How can I compile a macro using a self-made class?
> I have one macro.C file and a myclass.cxx and myclass.h file for
> the class.
>
>
Received on Tue Apr 24 2007 - 08:23:34 CEST
This archive was generated by hypermail 2.2.0 : Wed Apr 25 2007 - 17:50:02 CEST