Home » PANDA » PandaRoot » Bugs, Fixes, Releases » include bug in tpc dedx
include bug in tpc dedx [message #6684] |
Wed, 07 May 2008 13:34 |
Ralf Kliemt
Messages: 507 Registered: May 2007 Location: GSI, Darmstadt
|
first-grade participant |
From: 141.30.85*
|
|
Hi Tpc guys.
On a gsi machine and on one of the dresden machines PndTpcDEDXFits doesn't compile.
One is connected to cout, so probably the right include might help. Note that on other machines this works well, so there the include paths might be set differently (?).
Somehow the other error is connected to the TF1 constructor. This should work or not on every machine.
Anyway. We would be glad to compile pandaroot on the next machine, too.
Kind regards from Dresden, Ralf.
Toggle Spoiler
Dashboard for lxg0245.gsi.de | Error Build Log Line 292
File: tpc/PndTpcDEDXFits.cxx Line: 66
[ 38%] Building CXX object tpc/CMakeFiles/tpc.dir/PndTpcMCDEdxTask.o
[ 38%] Building CXX object tpc/CMakeFiles/tpc.dir/PndTpcRawDEdxCollection.o
[ 38%] Building CXX object tpc/CMakeFiles/tpc.dir/PndTpcDXCalculator.o
[ 38%] Building CXX object tpc/CMakeFiles/tpc.dir/PndTpcDEDXFits.o
/.../pandaroot/tpc/PndTpcDEDXFits.cxx: In member function `
void PndTpcDEDXFits::CreateFitForProfile(TProfile*, const std::string&)':
/.../pandaroot/tpc/PndTpcDEDXFits.cxx:66: error: `cout'
undeclared (first use this function)
|
Dashboard for pktw55.phy.tu-dresden.de | Error Build Log Line 4009
File: tpc/PndTpcDEDXFits.cxx Line: 226
/.../dart-src/tpc/PndTpcDEDXFits.cxx:226: error: no matching function for call to TF1::TF1(const char*, PndTpcDEDXFits* const, Double_t (PndTpcDEDXFits::*)(Double_t*, Double_t*), Double_t&, Double_t&, Int_t&, const char [15], const char [9])
/.../tools/root/include/TF1.h:89: note: candidates are: TF1::TF1(const TF1&)
/.../tools/root/include/TF1.h:87: note: TF1::TF1(const char*, Double_t (*)(const Double_t*, const Double_t*), Double_t, Double_t, Int_t)
/.../tools/root/include/TF1.h:86: note: TF1::TF1(const char*, Double_t (*)(Double_t*, Double_t*), Double_t, Double_t, Int_t)
/.../tools/root/include/TF1.h:84: note: TF1::TF1(const char*, void*, Double_t, Double_t, Int_t)
/.../tools/root/include/TF1.h:83: note: TF1::TF1(const char*, Double_t, Double_t, Int_t)
/.../tools/root/include/TF1.h:82: note: TF1::TF1(const char*, const char*, Double_t, Double_t)
|
|
|
|
Re: include bug in tpc dedx [message #6687 is a reply to message #6684] |
Wed, 07 May 2008 16:03 |
Viola Michael
Messages: 5 Registered: August 2007
|
occasional visitor |
From: *e18.physik.tu-muenchen.de
|
|
Hi!
Sorry, i have never looked at the dashboard before...
i have fixed the include bug.
For the other bug i have some trouble to figure out what it is about. This is what i am thinking:
The constructor i am using:
in root header /include/TF1.h
template <class PtrObj, typename MemFn>
TF1(const char *name, const PtrObj& p, MemFn memFn, Double_t xmin, Double_t xmax, Int_t npar, char * = 0, char * = 0)
does not appear in the list of canditates?
in the dashboard i see that we are using the same system and the same compiler (Debian3.1, gcc3.3.5 )
the only difference i can make up is the root version:
-- Looking for Root... - version 5.14/00
so i checked release notes from root: http://root.cern.ch/root/Version515.news.html
and i found exactly what i am using in there.
So maybe your root version is too old...
Best regards,
Viola
|
|
|
Goto Forum:
Current Time: Wed Nov 27 22:08:48 CET 2024
Total time taken to generate the page: 0.00377 seconds
|