GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » runnig tutorials/geane
runnig tutorials/geane [message #5270] Fri, 19 October 2007 16:25 Go to next message
asanchez is currently offline  asanchez
Messages: 350
Registered: March 2006
first-grade participant
From: *kph.uni-mainz.de
Hi i try to run the geane tutorials
i have add to CMakeList
tutorials/charmtask
tutorials/geane/ex1/plane
tutorials/geane/ex1/GeaneEx

for compilation
but i get these error message

[ 97%] Generating charmtaskDict.cxx, charmtaskDict.h
Error: link requested for unknown class vector<double> /d/panda02/asanchez/fairroot_new/pandaroot/tutorials/charmtask/charmtask LinkDef.h:9:
Warning: Error occurred during reading source files
Warning: Error occurred during dictionary source generation
!!!Removing /d/panda02/asanchez/fairroot_new/build/tutorials/charmtask/charmtaskDict .cxx /d/panda02/asanchez/fairroot_new/build/tutorials/charmtask/charmtaskDict .h !!!
Error: /misc/cbmsoft/Debian3.1/development/tools/root/bin/rootcint: error loading headers...
make[2]: *** [tutorials/charmtask/charmtaskDict.cxx] Error 1
make[1]: *** [tutorials/charmtask/CMakeFiles/charmtask.dir/all] Error 2
make: *** [all] Error 2

and


96%] Generating CbmPlaneDict.cxx, CbmPlaneDict.h
Error: cannot open file "CbmGeoPlane.h" :0:
!!!Removing /d/panda02/asanchez/fairroot_new/build/tutorials/geane/ex1/plane/CbmPlan eDict.cxx /d/panda02/asanchez/fairroot_new/build/tutorials/geane/ex1/plane/CbmPlan eDict.h !!!
Error: /misc/cbmsoft/Debian3.1/development/tools/root/bin/rootcint: error loading headers...
make[2]: *** [tutorials/geane/ex1/plane/CbmPlaneDict.cxx] Error 1
make[1]: *** [tutorials/geane/ex1/plane/CMakeFiles/Plane.dir/all] Error 2
make: *** [all] Error 2

so does any of you how should i add the tutorials directory
in CMakeList in order to be able to run the tutorials macros?

thanks a lot

ALicia
Re: runnig tutorials/geane [message #5277 is a reply to message #5270] Mon, 22 October 2007 09:56 Go to previous messageGo to next message
Andrea Fontana is currently offline  Andrea Fontana
Messages: 32
Registered: May 2007
continuous participant
From: *pv.infn.it
Hello Alicia,
I can help you with the error in the geane tutorial directories.
The tutorial directory, in our case, is meant to collect the
tutorial files that have to be copied to the pandaroot top
directory to be compiled and run: this has to be done for
GeaneEx and for plane, which are new packages.
The directory geometry contains files that must be copied
in your pandaroot-geometry directory, while the directory
macro can be copied anywhere, I suggest you pandaroot/macro/geane.
If you do this, things should compile and run.

Let me know...
Ciao,
Andrea
Re: runnig tutorials/geane [message #5284 is a reply to message #5277] Mon, 22 October 2007 13:36 Go to previous messageGo to next message
asanchez is currently offline  asanchez
Messages: 350
Registered: March 2006
first-grade participant
From: *gsi.de
Hi Andrea,
it seems that these classses
CbmGeaneTrT
CbmGeaneTrP
CCbmGeaneTrC
CbmGeaneTrK

which are required in GeaneEx are not in in the framework.

so i hvae them commented in GeaneExDefLink.h.

i try to compile it again.

ALicia.
Re: runnig tutorials/geane [message #5285 is a reply to message #5284] Mon, 22 October 2007 14:01 Go to previous messageGo to next message
asanchez is currently offline  asanchez
Messages: 350
Registered: March 2006
first-grade participant
From: *gsi.de
hi Andrea,
finally i managed to compiled the tutorial for geane ex1
by adding two directories plane and GeaneEx to CmakeList in pandaroot.

In GeaneEx/cbmGeanetr.h

I commented Tfile f and Ttree t; which are never called.

In GeaneEx/cbmGeanetr.cxx i included <iostream>

In GeaneExDefLink i commented the lines
CbmGeaneTrT
CbmGeaneTrP
CCbmGeaneTrC
CbmGeaneTrK

and now everything compiles.

best regrads
Alicia.

Re: runnig tutorials/geane [message #5286 is a reply to message #5285] Mon, 22 October 2007 15:24 Go to previous message
Andrea Fontana is currently offline  Andrea Fontana
Messages: 32
Registered: May 2007
continuous participant
From: *pv.infn.it
Hi Alicia,
I am happy in reading this! Smile
The ...TrP and ...TrK are simply other tasks
that we did not show at the tutorial and are not
important.

Let me know how it goes with the track following!

Andrea
Previous Topic: Dashboard
Next Topic: TPC bug
Goto Forum:
  


Current Time: Fri Nov 22 08:01:32 CET 2024

Total time taken to generate the page: 0.00821 seconds