[ROOT] "header declared but not defined"

From: Elena Vataga (vataga@fnal.gov)
Date: Fri Oct 05 2001 - 14:12:12 MEST


Hello!

I made class from Tree using MakeClass and trying to use it.
It works fine when I load it in root:

root [] .L WWclass.C
root [] WWclass t
root [] t.Loop();

When I am putting the same lines in script:

#include WWclass.h

.....

TTree *tree2 = (TTree*)dfile->Get("h2");
WWclass tt(tree2);
....

I am getting an error:
!!!Calling constructor 0x880f1c8.WWclass(tree2) for declaration of
ttError: WWclass() header declared but not defined

What could it mean?

	Thank you in advance,
				Elena



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:02 MET