[Insight-developers] SimpleITK build issue

David Cole david.cole at kitware.com
Fri May 27 05:36:23 EDT 2011


I'm getting an error building SimpleITK as follows:

Scanning dependencies of target SimpleITKBasicFilters
[ 41%] Building CXX object
Code/BasicFilters/CMakeFiles/SimpleITKBasicFilters.dir/src/sitkRealAndImaginaryToComplexImageFilter.cxx.o
/Users/davidcole/Dashboards/My
Tests/SimpleITK-build/Code/BasicFilters/src/sitkRealAndImaginaryToComplexImageFilter.cxx:18:53:
error: itkRealAndImaginaryToComplexImageFilter.h: No such file or
directory
/Users/davidcole/Dashboards/My
Tests/SimpleITK-build/Code/BasicFilters/src/sitkRealAndImaginaryToComplexImageFilter.cxx:
In member function ‘itk::simple::Image
itk::simple::RealAndImaginaryToComplexImageFilter::ExecuteInternal(const
itk::simple::Image&, const itk::simple::Image&)’:
/Users/davidcole/Dashboards/My
Tests/SimpleITK-build/Code/BasicFilters/src/sitkRealAndImaginaryToComplexImageFilter.cxx:106:
error: expected initializer before ‘<’ token
/Users/davidcole/Dashboards/My
Tests/SimpleITK-build/Code/BasicFilters/src/sitkRealAndImaginaryToComplexImageFilter.cxx:108:
error: ‘FilterType’ has not been declared
/Users/davidcole/Dashboards/My
Tests/SimpleITK-build/Code/BasicFilters/src/sitkRealAndImaginaryToComplexImageFilter.cxx:108:
error: expected initializer before ‘filter’
/Users/davidcole/Dashboards/My
Tests/SimpleITK-build/Code/BasicFilters/src/sitkRealAndImaginaryToComplexImageFilter.cxx:110:
error: ‘filter’ was not declared in this scope
make[2]: *** [Code/BasicFilters/CMakeFiles/SimpleITKBasicFilters.dir/src/sitkRealAndImaginaryToComplexImageFilter.cxx.o]
Error 1
make[1]: *** [Code/BasicFilters/CMakeFiles/SimpleITKBasicFilters.dir/all]
Error 2
make: *** [all] Error 2


"itkRealAndImaginaryToComplexImageFilter.h" has been recently removed from ITK:

  http://itk.org/gitweb?p=ITK.git;a=commitdiff;h=bc8a07207ef98ef725c1f079c254b2447ecb6c26

Should SimpleITK simply remove its use/test of this class? Or how else
should this be dealt with?

Thanks,
David


More information about the Insight-developers mailing list