Please give more details (not to roottalk please) on your code. What is the declaration of your variable evtBranch ? >> newClass: can not be found This is not a ROOT message Rene Brun Xie Wei wrote: > > Hi all > > I encounted the following problems when running the compiled code. > > If the "newClass" is interpreted by rootcint, the following code works > well: > > evtBranch = new newClass; > rawtree->Branch("Event", "newClass", &evtBranch, bsize, split); > > if "newClass" is not interpreted, then the compilation is still OK > but I got the following problem: > > the code does not comlain anything when executing the first line, > i.e. evtBranch = new newClass since the newClass is defined in a shared > library and being linked during the compilation. > > but when processing the 2nd line, it gives the errors like: > > >> newClass: can not be found > > Thanks! > --Wei
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:12 MET