[Insight-users] Error compiling new version of [InsightApplications] / LandmarkInitializedMutualInformationRegistration

Karl-Heinz Kunzelmann karl-heinz at kunzelmann.de
Sun Apr 1 11:31:32 EDT 2007


Hello everybody,

during compilation of the latest version (CVS) of
[InsightApplications] / LandmarkInitializedMutualInformationRegistration

I get the following error messages. 

[ 34%] Building CXX object
LandmarkInitializedMutualInformationRegistration/CMakeFiles/imageRegTool.dir/guiMainImplementation.o
/home/kkunzelm/InsightApplications/LandmarkInitializedMutualInformationRegistration/DeformableRegistrator.txx: In member function ‘virtual void itk::DeformableRegistrator<TImage>::Initialize()’:
/home/iktuserdir/InsightApplications/LandmarkInitializedMutualInformationRegistration/DeformableRegistrator.txx:73: error: ‘fixedImageSize’ was not declared in this scope
/home/iktuserdir/InsightApplications/LandmarkInitializedMutualInformationRegistration/ImageRegistrationApp.h: At global scope:
/home/iktuserdir/InsightApplications/LandmarkInitializedMutualInformationRegistration/ImageRegistrationApp.h:243: error: expected nested-name-specifier before ‘DeformableParametersType’
/home/iktuserdir/InsightApplications/LandmarkInitializedMutualInformationRegistration/ImageRegistrationApp.h:243: error: expected ‘;’ before ‘m_FinalParameters’
/home/iktuserdir/InsightApplications/LandmarkInitializedMutualInformationRegistration/ImageRegistrationApp.h:245: error: expected nested-name-specifier before ‘ImagePointer’
/home/iktuserdir/InsightApplications/LandmarkInitializedMutualInformationRegistration/ImageRegistrationApp.h:245: error: expected ‘;’ before ‘m_FinalDeformableImageP’
/home/iktuserdir/InsightApplications/LandmarkInitializedMutualInformationRegistration/ImageRegistrationApp.txx: In member function ‘void itk::ImageRegistrationApp<TImage>::SetLoadedDeformableTransform(const itk::BSplineDeformableTransform<double, 3u, 3u>&)’:
/home/iktuserdir/InsightApplications/LandmarkInitializedMutualInformationRegistration/ImageRegistrationApp.txx:609: error: ‘m_FinalParameters’ was not declared in this scope
/home/iktuserdir/InsightApplications/LandmarkInitializedMutualInformationRegistration/ImageRegistrationApp.txx: In member function ‘void itk::ImageRegistrationApp<TImage>::RegisterUsingDeformable()’:
/home/iktuserdir/InsightApplications/LandmarkInitializedMutualInformationRegistration/ImageRegistrationApp.txx:830: error: expected `;' before ‘size’
/home/iktuserdir/InsightApplications/LandmarkInitializedMutualInformationRegistration/ImageRegistrationApp.txx:831: error: expected `;' before ‘region’
/home/iktuserdir/InsightApplications/LandmarkInitializedMutualInformationRegistration/ImageRegistrationApp.txx:833: error: expected `;' before ‘movingSize’
/home/iktuserdir/InsightApplications/LandmarkInitializedMutualInformationRegistration/ImageRegistrationApp.txx:835: error: expected `;' before ‘fixedSize’
/home/iktuserdir/InsightApplications/LandmarkInitializedMutualInformationRegistration/ImageRegistrationApp.txx:878: error: ‘m_FinalParameters’ was not declared in this scope
/home/iktuserdir/InsightApplications/LandmarkInitializedMutualInformationRegistration/ImageRegistrationApp.txx: In member function ‘void itk::ImageRegistrationApp<TImage>::RegisterUsingDeformable() [with TImage = itk::Image<short int, 3u>]’:
/home/iktuserdir/InsightApplications/LandmarkInitializedMutualInformationRegistration/guiMainImplementation.cxx:1379:   instantiated from here
/home/iktuserdir/InsightApplications/LandmarkInitializedMutualInformationRegistration/ImageRegistrationApp.txx:830: error: dependent-name ‘TImage::#‘typename_type’ not supported by pp_cxx_unqualified_id#::SizeType’ is parsed as a non-type, but instantiation yields a type
/home/iktuserdir/InsightApplications/LandmarkInitializedMutualInformationRegistration/ImageRegistrationApp.txx:830: note: say ‘typename TImage::#‘typename_type’ not supported by pp_cxx_unqualified_id#::SizeType’ if a type is meant
/home/iktuserdir/InsightApplications/LandmarkInitializedMutualInformationRegistration/ImageRegistrationApp.txx:831: error: dependent-name ‘TImage::RegionType’ is parsed as a non-type, but instantiation yields a type
/home/iktuserdir/InsightApplications/LandmarkInitializedMutualInformationRegistration/ImageRegistrationApp.txx:831: note: say ‘typename TImage::RegionType’ if a type is meant
/home/iktuserdir/InsightApplications/LandmarkInitializedMutualInformationRegistration/ImageRegistrationApp.txx:833: error: dependent-name ‘TImage::#‘typename_type’ not supported by pp_cxx_unqualified_id#::SizeType’ is parsed as a non-type, but instantiation yields a type
/home/iktuserdir/InsightApplications/LandmarkInitializedMutualInformationRegistration/ImageRegistrationApp.txx:833: note: say ‘typename TImage::#‘typename_type’ not supported by pp_cxx_unqualified_id#::SizeType’ if a type is meant
/home/iktuserdir/InsightApplications/LandmarkInitializedMutualInformationRegistration/ImageRegistrationApp.txx:835: error: dependent-name ‘TImage::#‘typename_type’ not supported by pp_cxx_unqualified_id#::SizeType’ is parsed as a non-type, but instantiation yields a type
/home/iktuserdir/InsightApplications/LandmarkInitializedMutualInformationRegistration/ImageRegistrationApp.txx:835: note: say ‘typename TImage::#‘typename_type’ not supported by pp_cxx_unqualified_id#::SizeType’ if a type is meant
/home/iktuserdir/InsightApplications/LandmarkInitializedMutualInformationRegistration/DeformableRegistrator.txx: In member function ‘void itk::DeformableRegistrator<TImage>::Initialize() [with TImage = itk::Image<short int, 3u>]’:
/home/iktuserdir/InsightApplications/LandmarkInitializedMutualInformationRegistration/guiMainImplementation.cxx:1411:   instantiated from here
/home/iktuserdir/InsightApplications/LandmarkInitializedMutualInformationRegistration/DeformableRegistrator.txx:73: error: dependent-name ‘TImage::SizeType’ is parsed as a non-type, but instantiation yields a type
/home/iktuserdir/InsightApplications/LandmarkInitializedMutualInformationRegistration/DeformableRegistrator.txx:73: note: say ‘typename TImage::SizeType’ if a type is meant
make[2]: ***
[LandmarkInitializedMutualInformationRegistration/CMakeFiles/imageRegTool.dir/guiMainImplementation.o] Fehler 1
make[1]: ***
[LandmarkInitializedMutualInformationRegistration/CMakeFiles/imageRegTool.dir/all] Fehler 2
make: *** [all] Fehler 2

I followed closely the really perfect installation tutorial
http://www.itk.org/Wiki/Complete_Setup (really great job - thanks a
lot).

The system is Ubuntu 6.10. 
 
I saw that the files are brand new. Could it be a simple syntax error.
Unfortunately I have no idea how to code in C++. 

Any help is appreciated very much.

Thanks a lot to all developers.

Sincerely

Karl-Heinz Kunzelmann 



More information about the Insight-users mailing list