Re: Re: How to compile a macro using a custom class?

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Tue, 24 Apr 2007 08:23:26 +0200


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