Linear Collider Forum



Home » Analysis and Reconstruction » EUDET Telescope » ilcsoft v01-14 error in pedestalmerge compilation
ilcsoft v01-14 error in pedestalmerge compilation [message #2246] Fri, 26 October 2012 03:09 Go to next message
juantrenado
Messages: 2
Registered: February 2012
Hello,

I'm trying to build the ilcsoft version 01-14, all compile fine until it arrives at the end of the EUTELESCOPE compilation. It breaks in the pedestalmerge file.


[100%] Building CXX object CMakeFiles/pedestalmerge.dir/src/exec/pedestalmerge.cxx.o
/data/lhcb09/a/jtrenado/ilc/v01-14-01/Eutelescope/v00-06-03/ src/exec/pedestalmerge.cxx: In function 'int main(int, char**)':
/data/lhcb09/a/jtrenado/ilc/v01-14-01/Eutelescope/v00-06-03/ src/exec/pedestalmerge.cxx:169: error: 'TrackerRawDataImpl' no se declaró en este ámbito
/data/lhcb09/a/jtrenado/ilc/v01-14-01/Eutelescope/v00-06-03/ src/exec/pedestalmerge.cxx:169: error: el argumento de plantilla 1 es inválido
/data/lhcb09/a/jtrenado/ilc/v01-14-01/Eutelescope/v00-06-03/ src/exec/pedestalmerge.cxx:169: error: invalid type in declaration before '(' token
/data/lhcb09/a/jtrenado/ilc/v01-14-01/Eutelescope/v00-06-03/ src/exec/pedestalmerge.cxx:169: error: se trata la lista de expresiones initializer como una expresión compuesta
/data/lhcb09/a/jtrenado/ilc/v01-14-01/Eutelescope/v00-06-03/ src/exec/pedestalmerge.cxx:169: aviso: left-hand operand of comma no tiene efecto
/data/lhcb09/a/jtrenado/ilc/v01-14-01/Eutelescope/v00-06-03/ src/exec/pedestalmerge.cxx:169: error: conversión inválida de 'IMPL::LCCollectionVec*' a 'int'
/data/lhcb09/a/jtrenado/ilc/v01-14-01/Eutelescope/v00-06-03/ src/exec/pedestalmerge.cxx:169: aviso: variable 'encoderEncoder' sin usar
/data/lhcb09/a/jtrenado/ilc/v01-14-01/Eutelescope/v00-06-03/ src/exec/pedestalmerge.cxx:171: error: 'TrackerDataImpl' no se declaró en este ámbito
/data/lhcb09/a/jtrenado/ilc/v01-14-01/Eutelescope/v00-06-03/ src/exec/pedestalmerge.cxx:171: error: el argumento de plantilla 1 es inválido
/data/lhcb09/a/jtrenado/ilc/v01-14-01/Eutelescope/v00-06-03/ src/exec/pedestalmerge.cxx:171: error: invalid type in declaration before '(' token
/data/lhcb09/a/jtrenado/ilc/v01-14-01/Eutelescope/v00-06-03/ src/exec/pedestalmerge.cxx:171: error: se trata la lista de expresiones initializer como una expresión compuesta
/data/lhcb09/a/jtrenado/ilc/v01-14-01/Eutelescope/v00-06-03/ src/exec/pedestalmerge.cxx:171: aviso: left-hand operand of comma no tiene efecto
/data/lhcb09/a/jtrenado/ilc/v01-14-01/Eutelescope/v00-06-03/ src/exec/pedestalmerge.cxx:171: error: conversión inválida de 'IMPL::LCCollectionVec*' a 'int'
/data/lhcb09/a/jtrenado/ilc/v01-14-01/Eutelescope/v00-06-03/ src/exec/pedestalmerge.cxx:171: aviso: variable 'encoderEncoder' sin usar
make[2]: *** [CMakeFiles/pedestalmerge.dir/src/exec/pedestalmerge.cxx.o] Error 1
make[1]: *** [CMakeFiles/pedestalmerge.dir/all] Error 2
make: *** [all] Error 2

Any idea?
Than you very much
Re: ilcsoft v01-14 error in pedestalmerge compilation [message #2247 is a reply to message #2246] Wed, 31 October 2012 01:48 Go to previous messageGo to next message
sailer
Messages: 34
Registered: February 2009
Hi Juan,

Do you need the Eudet Telescope software?

If not, you can simply disable its compilation.
If yes, we have to figure out what went wrong...

EDIT:
So I haven't compiled the EUTelescope software in ages (if ever).
But trying it now I got the same error as you.

Apparently some types changed their namespace/heeader files had using statements removed, I don't know.
But this can be easily fixed by adding "lcio::" in the CellIDDecoder<> in lines 169 and 171
From this
168	if ( type == lcio::LCIO::TRACKERRAWDATA ) {
169 	lcio::CellIDEncoder<TrackerRawDataImpl> encoderEncoder( eutelescope::EUTELESCOPE::MATRIXDEFAULTENCODING, collectionMap[ name ]);
170 	} else if ( type == lcio::LCIO::TRACKERDATA ) {
171 	lcio::CellIDEncoder<TrackerDataImpl> encoderEncoder( eutelescope::EUTELESCOPE::MATRIXDEFAULTENCODING, collectionMap[ name ]);
172	}


to this
168 	if ( type == lcio::LCIO::TRACKERRAWDATA ) {
169 	lcio::CellIDEncoder<lcio::TrackerRawDataImpl> encoderEncoder( eutelescope::EUTELESCOPE::MATRIXDEFAULTENCODING, collectionMap[ name ]);
170 	} else if ( type == lcio::LCIO::TRACKERDATA ) {
171 	lcio::CellIDEncoder<lcio::TrackerDataImpl> encoderEncoder( eutelescope::EUTELESCOPE::MATRIXDEFAULTENCODING, collectionMap[ name ]);
172 	}



Cheers,
Andre

[Updated on: Wed, 31 October 2012 02:14]

Re: ilcsoft v01-14 error in pedestalmerge compilation [message #2248 is a reply to message #2247] Wed, 31 October 2012 05:22 Go to previous message
juantrenado
Messages: 2
Registered: February 2012
Hi Andre,

than you very much.
It resolves the problem.

Cheers,
Juan
Previous Topic:Documentation server
Goto Forum:
  

[ PDF ]

Current Time: Mon Apr 23 14:12:34 Pacific Daylight Time 2018
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.1.
Copyright ©2001-2010 FUDforum Bulletin Board Software