GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » TPC compilation problem
TPC compilation problem [message #12790] Fri, 18 November 2011 12:30 Go to next message
Yuri Naryshkin is currently offline  Yuri Naryshkin
Messages: 42
Registered: August 2008
continuous participant
From: *desy.de
Dear TPC experts,
I have a problem with TPC while compiling PANDAroot:

[ 47%] Building CXX object tpc/CMakeFiles/Tpc.dir/TestBench/PndTpcSLResidualTask.cxx.o
[ 47%] Building CXX object tpc/CMakeFiles/Tpc.dir/TestBench/PndTpcResidualTask.cxx.o
/u/naryshk/pandaroot_new/pandaroot/tpc/TestBench/PndTpcResidualTask.cxx: In member function 'virtual void PndTpcResidualTask::Exec(const Option_t*)':
/u/naryshk/pandaroot_new/pandaroot/tpc/TestBench/PndTpcResidualTask.cxx: 260: error: 'getSmoothedPosXYZ' is not a member of 'GFTools'
make[2]: *** [tpc/CMakeFiles/Tpc.dir/TestBench/PndTpcResidualTask.cxx.o] Error 1
make[1]: *** [tpc/CMakeFiles/Tpc.dir/all] Error 2
make: *** [all] Error 2

May I ask you what is the solution for that?
I used:
svn co https://subversion.gsi.de/fairroot/pandaroot/trunk pandaroot

and

settings:
export SIMPATH=/misc/cbmsoft/Lenny32/may11/fairsoft/

Best Regards, Yuri.
Re: TPC compilation problem [message #12792 is a reply to message #12790] Sat, 19 November 2011 16:37 Go to previous messageGo to next message
Johannes Rauch is currently offline  Johannes Rauch
Messages: 41
Registered: September 2010
Location: TUM
continuous participant
From: 140.181.11*
Dear pandarooters,

its fixed.

regards,

Johannes
Re: TPC compilation problem [message #12793 is a reply to message #12792] Sat, 19 November 2011 23:02 Go to previous messageGo to next message
Yuri Naryshkin is currently offline  Yuri Naryshkin
Messages: 42
Registered: August 2008
continuous participant
From: *desy.de
Dear Johannes,
in which version is it fixed?
I try trunk again and have the same problem:

[ 42%] Building CXX object stt/sttreco/CMakeFiles/SttReco.dir/PndSttRecoDict.cxx.o
Linking CXX shared library ../../lib/libSttReco.so
[ 42%] Built target SttReco
[ 42%] Generating tpcDict.cxx, tpcDict.h
Error: link requested for unknown class PndTpcResidualTask /u/naryshk/pandaroot_new/pandaroot/tpc/tpcLinkDef.h:73:
Warning: Error occurred during reading source files
Warning: Error occurred during dictionary source generation
!!!Removing /u/naryshk/pandaroot_new/pandaroot/buildPanda/tpc/tpcDict.cxx /u/naryshk/pandaroot_new/pandaroot/buildPanda/tpc/tpcDict.h !!!
Error: /misc/cbmsoft/Lenny32/may11/fairsoft/tools/root/bin/rootcint: error loading headers...
make[2]: *** [tpc/tpcDict.cxx] Error 1
make[1]: *** [tpc/CMakeFiles/Tpc.dir/all] Error 2
make: *** [all] Error 2

Best Regards, Yuri.
Re: TPC compilation problem [message #12798 is a reply to message #12790] Mon, 21 November 2011 16:12 Go to previous messageGo to next message
Dima Melnychuk is currently offline  Dima Melnychuk
Messages: 213
Registered: April 2004
Location: National Centre for Nucle...
first-grade participant
From: *fuw.edu.pl
Hi all,

I can confirm that latest pandaroot trunk does not compile for me with the same error from TPC.

I see that Johanes commented out PndTpcResidualTask.cxx in
tpc/CMakeLists.txt. But it still should be commented in tpcLinkDef.h, i.e. line 73 should be commented
#pragma link C++ class PndTpcResidualTask+;

Dima
Re: TPC compilation problem [message #12799 is a reply to message #12798] Mon, 21 November 2011 16:21 Go to previous messageGo to next message
Felix Boehmer is currently offline  Felix Boehmer
Messages: 149
Registered: May 2007
Location: Munich
first-grade participant

From: *adsl.alicedsl.de
Hi,

I changed it. Can you verify that everything builds now?


Cheers

Felix
Re: TPC compilation problem [message #12800 is a reply to message #12799] Mon, 21 November 2011 16:53 Go to previous messageGo to next message
Yuri Naryshkin is currently offline  Yuri Naryshkin
Messages: 42
Registered: August 2008
continuous participant
From: *desy.de
Dear Felix,
still problem,
(svn co https://subversion.gsi.de/fairroot/pandaroot/trunk pandaroot

export SIMPATH=/misc/cbmsoft/Lenny32/may11/fairsoft/
)
Best Regards, Yuri.

[ 42%] Generating tpcDict.cxx, tpcDict.h
Error: link requested for unknown class CdcHit /u/naryshk/pandaroot_new/pandaroot/tpc/tpcLinkDef.h:80:
Error: link requested for unknown class CdcEvent /u/naryshk/pandaroot_new/pandaroot/tpc/tpcLinkDef.h:81:
Error: link requested for unknown class CdcTrack /u/naryshk/pandaroot_new/pandaroot/tpc/tpcLinkDef.h:82:
Error: link requested for unknown class PointHit /u/naryshk/pandaroot_new/pandaroot/tpc/tpcLinkDef.h:83:
Error: link requested for unknown class PseudoSpacePoint /u/naryshk/pandaroot_new/pandaroot/tpc/tpcLinkDef.h:84:
Error: link requested for unknown class RpcTrack /u/naryshk/pandaroot_new/pandaroot/tpc/tpcLinkDef.h:85:
Warning: Error occurred during reading source files
Warning: Error occurred during dictionary source generation
!!!Removing /u/naryshk/pandaroot_new/pandaroot/buildPanda/tpc/tpcDict.cxx /u/naryshk/pandaroot_new/pandaroot/buildPanda/tpc/tpcDict.h !!!
Error: /misc/cbmsoft/Lenny32/may11/fairsoft/tools/root/bin/rootcint: error loading headers...
make[2]: *** [tpc/tpcDict.cxx] Error 1
make[1]: *** [tpc/CMakeFiles/Tpc.dir/all] Error 2
make: *** [all] Error 2
Re: TPC compilation problem [message #12801 is a reply to message #12800] Mon, 21 November 2011 17:11 Go to previous messageGo to next message
Felix Boehmer is currently offline  Felix Boehmer
Messages: 149
Registered: May 2007
Location: Munich
first-grade participant

From: *adsl.alicedsl.de
Hi,

yeah, that was really smart of me ... try again please


Cheers

Felix
Re: TPC compilation problem [message #12803 is a reply to message #12801] Mon, 21 November 2011 18:52 Go to previous message
Yuri Naryshkin is currently offline  Yuri Naryshkin
Messages: 42
Registered: August 2008
continuous participant
From: *desy.de
Thanks a lot Felix! Now it is compiled and linked. Best Regards, Yuri.
Previous Topic: compiling PANDAroot
Next Topic: dlopen error from parbase.so
Goto Forum:
  


Current Time: Sat Nov 09 02:16:20 CET 2024

Total time taken to generate the page: 0.00791 seconds