[Insight-users] how to roll back to a previous compilable InsightApplications?

kdsfinger at gmail.com kdsfinger at gmail.com
Mon Dec 11 13:39:54 EST 2006


hi, there
I was lucky to have all the applications compiled (cvs version) last
weekend. However, I found one of the application was empty
(MetaImageViewer). Then I did one thing I hope I never did: I update
the InsightApplications again. After that, I got errors like

 Building CXX object
MRIBiasCorrection/CMakeFiles/BiasCorrector.dir/BiasCorrector.o
/mnt/drive2/itk/InsightApplications/MRIBiasCorrection/BiasCorrector.cxx:
In function 'int ImageMaskDisagreement(ImagePointer, MaskPointer)':
/mnt/drive2/itk/InsightApplications/MRIBiasCorrection/BiasCorrector.cxx:274:
error: passing 'const itk::Matrix<double, 3u, 3u>' as 'this' argument
of 'bool itk::Matrix<T, NRows, NColumns>::operator!=(const
itk::Matrix<T, NRows, NColumns>&) [with T = double, unsigned int NRows
= 3u, unsigned int NColumns = 3u]' discards qualifiers
/mnt/drive2/itk/InsightApplications/MRIBiasCorrection/imageutils.h: In
function 'typename OrienterImageType::Pointer OrientImage(const
typename OrienterImageType::Pointer&, const typename
OrienterImageType::DirectionType&) [with OrienterImageType =
itk::Image<unsigned char, 3u>]':
/mnt/drive2/itk/InsightApplications/MRIBiasCorrection/BiasCorrector.cxx:418:
  instantiated from here
/mnt/drive2/itk/InsightApplications/MRIBiasCorrection/imageutils.h:118:
error: 'class itk::OrientImageFilter<itk::Image<unsigned char, 3u>,
itk::Image<unsigned char, 3u> >' has no member named
'SetDesiredCoordinateDirection'
make[2]: *** [MRIBiasCorrection/CMakeFiles/BiasCorrector.dir/BiasCorrector.o]
Error 1
make[1]: *** [MRIBiasCorrection/CMakeFiles/BiasCorrector.dir/all] Error 2
make: *** [all] Error 2

My question: How may I rollback to have the compilable
InsightApplications? Thanks for help.

BTW, I also tried the v3.0.0 and got this:
 Building CXX object
MultichannelTissueClassificationValidation/CMakeFiles/GaussianMSClassificationApp.dir/Code/GaussianMSClassifierValidationApp.o
c++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
make[2]: *** [MultichannelTissueClassificationValidation/CMakeFiles/GaussianMSClassificationApp.dir/Code/GaussianMSClassifierValidationApp.o]
Error 1
make[1]: *** [MultichannelTissueClassificationValidation/CMakeFiles/GaussianMSClassificationApp.dir/all]
Error 2
make: *** [all] Error 2


zl2k


More information about the Insight-users mailing list