GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » [FIXED] svn update error
[FIXED] svn update error [message #14562] Wed, 03 April 2013 11:00 Go to next message
Garzia Isabella is currently offline  Garzia Isabella
Messages: 11
Registered: January 2009
occasional visitor
From: *fe.infn.it
Hi all,
I updated my pandaroot environment (svn update) and I found the following error:
...
...
[ 54%] Generating PndTrackingDict.cxx, PndTrackingDict.h
Scanning dependencies of target Tracking
[ 54%] Building CXX object tracking/CMakeFiles/Tracking.dir/PndTrkLegendreFits.cxx.o
[ 54%] Building CXX object tracking/CMakeFiles/Tracking.dir/PndTrkTracking.cxx.o
/home/garzia/sep12/pandaroot/tracking/PndTrkTracking.cxx: In member function ‘void PndTrkTracking::Initialization_ClassVariables()’:
/home/garzia/sep12/pandaroot/tracking/PndTrkTracking.cxx:308:15: error: ‘fnParContigue’ was not declared in this scope
/home/garzia/sep12/pandaroot/tracking/PndTrkTracking.cxx:311:15: error: ‘fListParContiguous’ was not declared in this scope
/home/garzia/sep12/pandaroot/tracking/PndTrkTracking.cxx: In member function ‘virtual InitStatus PndTrkTracking::Init()’:
/home/garzia/sep12/pandaroot/tracking/PndTrkTracking.cxx:617:2: error: ‘fnParContigue’ was not declared in this scope
/home/garzia/sep12/pandaroot/tracking/PndTrkTracking.cxx:618:2: error: ‘fListParContiguous’ was not declared in this scope
make[2]: *** [tracking/CMakeFiles/Tracking.dir/PndTrkTracking.cxx.o] Error 1
make[1]: *** [tracking/CMakeFiles/Tracking.dir/all] Error 2
make: *** [all] Error 2


I had a look int he code and seems that "fnParContigue" and "fListParContiguous" are not defined (in PndTrkTracking.h).
Can somebody fix it?

Thanks in advance,

Isabella

[Updated on: Fri, 05 April 2013 19:30] by Moderator

Report message to a moderator

Re: svn update error [message #14563 is a reply to message #14562] Wed, 03 April 2013 17:44 Go to previous messageGo to next message
Gianluigi Boca is currently offline  Gianluigi Boca
Messages: 177
Registered: March 2004
first-grade participant
From: *pv.infn.it
fixed. Corrected version in trunk repository

Gianluigi

Garzia Isabella wrote on Wed, 03 April 2013 11:00

Hi all,
I updated my pandaroot environment (svn update) and I found the following error:
...
...
[ 54%] Generating PndTrackingDict.cxx, PndTrackingDict.h
Scanning dependencies of target Tracking
[ 54%] Building CXX object tracking/CMakeFiles/Tracking.dir/PndTrkLegendreFits.cxx.o
[ 54%] Building CXX object tracking/CMakeFiles/Tracking.dir/PndTrkTracking.cxx.o
/home/garzia/sep12/pandaroot/tracking/PndTrkTracking.cxx: In member function ‘void PndTrkTracking::Initialization_ClassVariables()’:
/home/garzia/sep12/pandaroot/tracking/PndTrkTracking.cxx:308:15: error: ‘fnParContigue’ was not declared in this scope
/home/garzia/sep12/pandaroot/tracking/PndTrkTracking.cxx:311:15: error: ‘fListParContiguous’ was not declared in this scope
/home/garzia/sep12/pandaroot/tracking/PndTrkTracking.cxx: In member function ‘virtual InitStatus PndTrkTracking::Init()’:
/home/garzia/sep12/pandaroot/tracking/PndTrkTracking.cxx:617:2: error: ‘fnParContigue’ was not declared in this scope
/home/garzia/sep12/pandaroot/tracking/PndTrkTracking.cxx:618:2: error: ‘fListParContiguous’ was not declared in this scope
make[2]: *** [tracking/CMakeFiles/Tracking.dir/PndTrkTracking.cxx.o] Error 1
make[1]: *** [tracking/CMakeFiles/Tracking.dir/all] Error 2
make: *** [all] Error 2


I had a look int he code and seems that "fnParContigue" and "fListParContiguous" are not defined (in PndTrkTracking.h).
Can somebody fix it?

Thanks in advance,

Isabella

Re: svn update error [message #14564 is a reply to message #14563] Wed, 03 April 2013 18:08 Go to previous messageGo to next message
Garzia Isabella is currently offline  Garzia Isabella
Messages: 11
Registered: January 2009
occasional visitor
From: *fe.infn.it
Hi Gianluigi,
thanks, now it works!

Ciao,
Isabella.
Re: svn update error [message #14567 is a reply to message #14564] Thu, 04 April 2013 15:38 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: 202.122.36*
Not for me:

[ 54%] Building CXX object tracking/CMakeFiles/Tracking.dir/PndTrkSttAdjacencies.cxx.o
/Users/spataro/sep12/trunk/tracking/PndTrkSttAdjacencies.cxx:37:17: error: variable length array of non-POD element type 'TVector3'
        TVector3 center[NUMBER_STRAWS], wiredirection[NUMBER_STRAWS];
                       ^
/Users/spataro/sep12/trunk/tracking/PndTrkSttAdjacencies.cxx:46:3: error: use of undeclared identifier 'wiredirection'
                wiredirection[i-1] = pSttTube->GetWireDirection();
                ^
/Users/spataro/sep12/trunk/tracking/PndTrkSttAdjacencies.cxx:51:12: error: use of undeclared identifier 'wiredirection'
                if( fabs(wiredirection[i].Z() -1.) > 1.e-5) continue; // non considero le skew;
                         ^
/Users/spataro/sep12/trunk/tracking/PndTrkSttAdjacencies.cxx:56:13: error: use of undeclared identifier 'wiredirection'
                        if( fabs(wiredirection[j].Z() -1.) > 1.e-5) continue; // non considero le skew;
                                 ^
4 errors generated.
Re: svn update error [message #14568 is a reply to message #14567] Thu, 04 April 2013 15:53 Go to previous messageGo to next message
Gianluigi Boca is currently offline  Gianluigi Boca
Messages: 177
Registered: March 2004
first-grade participant
From: *pv.infn.it
I presume it depends on the compiler since it works on the Lenny 64 bit machines at GSI.
Anyway, I put in svn a new version with a more conservative sintax, please try it
Gianluigi

Stefano Spataro wrote on Thu, 04 April 2013 15:38

Not for me:

[ 54%] Building CXX object tracking/CMakeFiles/Tracking.dir/PndTrkSttAdjacencies.cxx.o
/Users/spataro/sep12/trunk/tracking/PndTrkSttAdjacencies.cxx:37:17: error: variable length array of non-POD element type 'TVector3'
        TVector3 center[NUMBER_STRAWS], wiredirection[NUMBER_STRAWS];
                       ^
/Users/spataro/sep12/trunk/tracking/PndTrkSttAdjacencies.cxx:46:3: error: use of undeclared identifier 'wiredirection'
                wiredirection[i-1] = pSttTube->GetWireDirection();
                ^
/Users/spataro/sep12/trunk/tracking/PndTrkSttAdjacencies.cxx:51:12: error: use of undeclared identifier 'wiredirection'
                if( fabs(wiredirection[i].Z() -1.) > 1.e-5) continue; // non considero le skew;
                         ^
/Users/spataro/sep12/trunk/tracking/PndTrkSttAdjacencies.cxx:56:13: error: use of undeclared identifier 'wiredirection'
                        if( fabs(wiredirection[j].Z() -1.) > 1.e-5) continue; // non considero le skew;
                                 ^
4 errors generated.


Re: svn update error [message #14569 is a reply to message #14568] Thu, 04 April 2013 16:03 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: 202.122.36*
Still not working for me (mac):


[ 54%] Building CXX object tracking/CMakeFiles/Tracking.dir/PndTrkSttAdjacencies.cxx.o
/Users/spataro/sep12/trunk/tracking/PndTrkSttAdjacencies.cxx:37:17: error: variable length array of non-POD element type 'TVector3'
        TVector3 center[NUMBER_STRAWS], wiredirection[NUMBER_STRAWS];
                       ^
/Users/spataro/sep12/trunk/tracking/PndTrkSttAdjacencies.cxx:46:3: error: use of undeclared identifier 'wiredirection'
                wiredirection[i-1] = pSttTube->GetWireDirection();
                ^
/Users/spataro/sep12/trunk/tracking/PndTrkSttAdjacencies.cxx:51:12: error: use of undeclared identifier 'wiredirection'
                if( fabs(wiredirection[i].Z() -1.) > 1.e-5) continue; // for now I don't consider the skews;
                         ^
/Users/spataro/sep12/trunk/tracking/PndTrkSttAdjacencies.cxx:56:13: error: use of undeclared identifier 'wiredirection'
                        if( fabs(wiredirection[j].Z() -1.) > 1.e-5) continue; // for now I don't consider the skews;
                                 ^
4 errors generated.
make[2]: *** [tracking/CMakeFiles/Tracking.dir/PndTrkSttAdjacencies.cxx.o] Error 1
make[1]: *** [tracking/CMakeFiles/Tracking.dir/all] Error 2
make: *** [all] Error 2

Re: svn update error [message #14570 is a reply to message #14569] Thu, 04 April 2013 16:32 Go to previous messageGo to next message
Gianluigi Boca is currently offline  Gianluigi Boca
Messages: 177
Registered: March 2004
first-grade participant
From: *pv.infn.it
please try now

G.

Stefano Spataro wrote on Thu, 04 April 2013 16:03

Still not working for me (mac):


[ 54%] Building CXX object tracking/CMakeFiles/Tracking.dir/PndTrkSttAdjacencies.cxx.o
/Users/spataro/sep12/trunk/tracking/PndTrkSttAdjacencies.cxx:37:17: error: variable length array of non-POD element type 'TVector3'
        TVector3 center[NUMBER_STRAWS], wiredirection[NUMBER_STRAWS];
                       ^
/Users/spataro/sep12/trunk/tracking/PndTrkSttAdjacencies.cxx:46:3: error: use of undeclared identifier 'wiredirection'
                wiredirection[i-1] = pSttTube->GetWireDirection();
                ^
/Users/spataro/sep12/trunk/tracking/PndTrkSttAdjacencies.cxx:51:12: error: use of undeclared identifier 'wiredirection'
                if( fabs(wiredirection[i].Z() -1.) > 1.e-5) continue; // for now I don't consider the skews;
                         ^
/Users/spataro/sep12/trunk/tracking/PndTrkSttAdjacencies.cxx:56:13: error: use of undeclared identifier 'wiredirection'
                        if( fabs(wiredirection[j].Z() -1.) > 1.e-5) continue; // for now I don't consider the skews;
                                 ^
4 errors generated.
make[2]: *** [tracking/CMakeFiles/Tracking.dir/PndTrkSttAdjacencies.cxx.o] Error 1
make[1]: *** [tracking/CMakeFiles/Tracking.dir/all] Error 2
make: *** [all] Error 2



Re: svn update error [message #14571 is a reply to message #14570] Thu, 04 April 2013 16:54 Go to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: 202.122.36*
Much better now, thanks.
Previous Topic: [WONTFIX] Error: Symbol PndTpcDetector is not defined in current scope runMvdSim.C:54:
Next Topic: [INFO] New version of the external packages "apr 13"
Goto Forum:
  


Current Time: Sat Nov 23 08:17:47 CET 2024

Total time taken to generate the page: 0.00934 seconds