[Brahms-dev-l] How to include a module in brat

From: Bekele, Selemon <bekeleku@ku.edu>
Date: Mon Jul 25 2005 - 18:56:47 EDT
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
Received on Mon Jul 25 18:57:10 2005

This archive was generated by hypermail 2.1.8 : Mon Jul 25 2005 - 18:57:21 EDT