Have you done a rootcint? There are probably many examples out there, but look at brahms_app/sjs_app/modules for at least one example of where this is done. ...steve On Jul 25, 2005, at 5:56 PM, Bekele, Selemon wrote: > Hi, > > I want to create a new module and add it to brat in my local area. > I update (add myModule.cxx and myModule.h to) > > Include.h > LinkDef.h > makefile.am > > I then do > > make > make install > > to compile and link. However when I define > > myModule* mod = new myModule(...) > > in a script, I get the error message > -------------------------- > Error: Symbol myModule is not defined in current scope > FILE:TofSlewingFit.C LINE:176 > Error: type myModule not defined > FILE:/direct/brahms+u/tigist/MyBrahms/brat/scripts/calib/tof/./ > TofSlewingFit.C > LINE:176 > Warning: Automatic variable myModule* tof1 is allocated > FILE:TofSlewingFit.C LINE:176 > Error in <BrMainModule::Main>: Init failed > -------------------------- > > Any ideas what I am missing, something I may need to update, > > Thanks in advance > > Selemon > > > _______________________________________________ > Brahms-dev-l mailing list > Brahms-dev-l@lists.bnl.gov > http://lists.bnl.gov/mailman/listinfo/brahms-dev-l _______________________________________________ Brahms-dev-l mailing list Brahms-dev-l@lists.bnl.gov http://lists.bnl.gov/mailman/listinfo/brahms-dev-lReceived on Mon Jul 25 19:04:59 2005
This archive was generated by hypermail 2.1.8 : Mon Jul 25 2005 - 19:05:04 EDT