[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JANA old version




I compiled it  when I got back to the old version, i.e., I used
#setenv JANA_HOME ${GROUPDISK}/12gev_phys/builds/PRODUCTION
setenv JANA_HOME ${GROUPDISK}/12gev_phys/builds/build_2008-04-21

I hope that there have been no changes done in the
BCAL/FCAL reconstruction since then.

Cheers,
      Sascha




On Sat, 26 Apr 2008, Alexander Somov wrote:

>
> Sorry, I forgot to mention, I am compiling stuff on ifarml1
>
> Cheers,
>       Sascha
>
>
>
> On Sat, 26 Apr 2008, Alexander Somov wrote:
>
> > Hi David,
> >
> > I have a quick question:
> >
> > I am trying to recompile my code which worked a few days ago and all of
> > the sudden  ran into the following compillation errors (which, I surmise,
> > are related to the new JANA release)
> >
> > g++ -I. -I.. -I../include -I/home/somov/HallD/include
> > -I/home/somov/HallD/include -D_ROOT_ -pthread
> > -I/apps/root/PRO/root/include -I/apps/root/PRO/root/include
> > -I/group/12gev_phys/builds/PRODUCTION/include
> > -I/group/halld/Software/ExternalPackages/xerces-c-src_2_7_0.Linux-i686/include
> > -DXERCESC -O2 -Wall   -c -o .obj/Linux-i686/em_bg.o em_bg.cc
> > In file included from em_bg.cc:8:
> > em_bg.h:20: syntax error before `{' token
> > em_bg.h:23: destructors must be member functions
> > em_bg.h:26: syntax error before `private'
> > em_bg.h:28: `JEventLoop' was not declared in this scope
> > em_bg.h:28: `eventLoop' was not declared in this scope
> >
> >
> > It complaines to the lines from em_bg.cc, in particular to the class
> > definition (?)
> >
> > class DEventProcessor_bcal_hists:public JEventProcessor{
> >         public:
> >                 DEventProcessor_bcal_hists(){};
> >                 ~DEventProcessor_bcal_hists(){};
> >                 const char* className(void){return
> > "DEventProcessor_bcal_hists";};
> >
> >         private:
> >                 jerror_t init(void);      ///< Called once at program
> > start.
> >                 jerror_t brun(JEventLoop *eventLoop, int runnumber);
> > ///< Called everytime a new run number is detected.
> >
> >
> > I am attaching a dependency file em_bg.d. I have all libs installed
> > localy, but I am using includes from
> > /group/12gev_phys/builds/PRODUCTION/include/JANA/...
> >
> >
> > Do you have any ideas how to get old stuff running (I want to finish
> > with the review materials asap)?
> > (or I have to checkout a new reco version; I am trying to do it now)
> >
> >
> > Thanks!
> >
> > Cheers,
> >       Sascha
>