[Insight-users] Cannot build on a different machine!

Atwood, Robert C r.atwood at imperial.ac.uk
Mon Jun 12 11:10:52 EDT 2006


 
Dear list:
I have compiled and run a small ITK code that applys
itkHessian3DToVesselnessMeasureImageFilter to my image. However, when i
try to compile on another machine, I get a huge number of error
messages( see attatched) . 

The main difference is the second machine is 64 bits ( but using -m32
does not seem to change the behaviour) It builds and runs on the first
machine -- which is slower and smaller.

I don't quite know where to start with solving this error. 


Robert


Building CXX object CMakeFiles/itk_hes_rca.dir/itk_hes_rca.o
In file included from
/home/rcatwood/progs/itk_progs_cvs/itk_hes_rca.h:1,
                 from
/home/rcatwood/progs/itk_progs_cvs/itk_hes_rca.cxx:7:
/usr/local/encap/ITK-2.6.0.3/include/InsightToolkit/BasicFilters/itkHess
ian3DToVesselnessMeasureImageFilter.h:98: error: wrong
   number of template arguments (1, should be 2)
/usr/local/encap/ITK-2.6.0.3/include/InsightToolkit/Common/itkConceptChe
cking.h:174: error: provided
   for `template<class T1, class T2> struct itk::Concept::Convertible'
/usr/local/encap/ITK-2.6.0.3/include/InsightToolkit/BasicFilters/itkHess
ian3DToVesselnessMeasureImageFilter.h:98: error: ISO
   C++ forbids declaration of `type name' with no type
/usr/local/encap/ITK-2.6.0.3/include/InsightToolkit/BasicFilters/itkHess
ian3DToVesselnessMeasureImageFilter.h: In instantiation of
`itk::Hessian3DToVesselnessMeasureImageFilter<OutputPixelType>':
/home/rcatwood/progs/itk_progs_cvs/itk_hes_rca.cxx:104:   instantiated
from here
/usr/local/encap/ITK-2.6.0.3/include/InsightToolkit/BasicFilters/itkHess
ian3DToVesselnessMeasureImageFilter.h:75: error: `
   ImageDimension' is not a member of type `
   itk::SymmetricSecondRankTensor<double, 3>'
/usr/local/encap/ITK-2.6.0.3/include/InsightToolkit/BasicFilters/itkHess
ian3DToVesselnessMeasureImageFilter.h: In instantiation of
`itk::Hessian3DToVesselnessMeasureImageFilter<OutputPixelType>':
/home/rcatwood/progs/itk_progs_cvs/itk_hes_rca.cxx:104:   instantiated
from here
/usr/local/encap/ITK-2.6.0.3/include/InsightToolkit/BasicFilters/itkHess
ian3DToVesselnessMeasureImageFilter.h:79: error: non-constant
   `
 
itk::Hessian3DToVesselnessMeasureImageFilter<OutputPixelType>::InputPixe
lDimension
   ' cannot be used as template argument
/usr/local/encap/ITK-2.6.0.3/include/InsightToolkit/BasicFilters/itkHess
ian3DToVesselnessMeasureImageFilter.h: In instantiation of
`itk::Hessian3DToVesselnessMeasureImageFilter<OutputPixelType>':
/home/rcatwood/progs/itk_progs_cvs/itk_hes_rca.cxx:104:   instantiated
from here
/usr/local/encap/ITK-2.6.0.3/include/InsightToolkit/BasicFilters/itkHess
ian3DToVesselnessMeasureImageFilter.h:81: error: non-constant
   `
 
itk::Hessian3DToVesselnessMeasureImageFilter<OutputPixelType>::InputPixe
lDimension
   ' cannot be used as template argument
/usr/local/encap/ITK-2.6.0.3/include/InsightToolkit/BasicFilters/itkHess
ian3DToVesselnessMeasureImageFilter.h: In instantiation of
`itk::Hessian3DToVesselnessMeasureImageFilter<OutputPixelType>':
/home/rcatwood/progs/itk_progs_cvs/itk_hes_rca.cxx:104:   instantiated
from here
/usr/local/encap/ITK-2.6.0.3/include/InsightToolkit/BasicFilters/itkHess
ian3DToVesselnessMeasureImageFilter.h:83: error: non-constant
   `
 
itk::Hessian3DToVesselnessMeasureImageFilter<OutputPixelType>::InputPixe
lDimension
   ' cannot be used as template argument
/usr/local/encap/ITK-2.6.0.3/include/InsightToolkit/BasicFilters/itkHess
ian3DToVesselnessMeasureImageFilter.h: In instantiation of
`itk::Hessian3DToVesselnessMeasureImageFilter<OutputPixelType>':
/home/rcatwood/progs/itk_progs_cvs/itk_hes_rca.cxx:104:   instantiated
from here
/usr/local/encap/ITK-2.6.0.3/include/InsightToolkit/BasicFilters/itkHess
ian3DToVesselnessMeasureImageFilter.h:115: error: non-constant
   `
 
itk::Hessian3DToVesselnessMeasureImageFilter<OutputPixelType>::InputPixe
lDimension
   ' cannot be used as template argument
/usr/local/encap/ITK-2.6.0.3/include/InsightToolkit/BasicFilters/itkHess
ian3DToVesselnessMeasureImageFilter.txx: In
   constructor `
 
itk::Hessian3DToVesselnessMeasureImageFilter<TPixel>::Hessian3DToVesseln
essMeasureImageFilter()
   [with TPixel = OutputPixelType]':
/usr/local/encap/ITK-2.6.0.3/include/InsightToolkit/BasicFilters/itkHess
ian3DToVesselnessMeasureImageFilter.h:86:   instantiated from `static
itk::SmartPointer<itk::Hessian3DToVesselnessMeasureImageFilter<TPixel> >
itk::Hessian3DToVesselnessMeasureImageFilter<TPixel>::New() [with TPixel
= OutputPixelType]'
/home/rcatwood/progs/itk_progs_cvs/itk_hes_rca.cxx:104:   instantiated
from here
/usr/local/encap/ITK-2.6.0.3/include/InsightToolkit/BasicFilters/itkHess
ian3DToVesselnessMeasureImageFilter.txx:39: error: non-constant
   `
 
itk::Hessian3DToVesselnessMeasureImageFilter<OutputPixelType>::InputPixe
lDimension
   ' cannot be used as template argument
/usr/local/encap/ITK-2.6.0.3/include/InsightToolkit/BasicFilters/itkHess
ian3DToVesselnessMeasureImageFilter.txx:39: error: `
   <type error>' is not a class type
/usr/local/encap/ITK-2.6.0.3/include/InsightToolkit/BasicFilters/itkHess
ian3DToVesselnessMeasureImageFilter.txx:39: error: '
   class itk::Hessian3DToVesselnessMeasureImageFilter<OutputPixelType>'
has no 
   member named 'm_SymmetricEigenValueFilter'
/usr/local/encap/ITK-2.6.0.3/include/InsightToolkit/BasicFilters/itkHess
ian3DToVesselnessMeasureImageFilter.h:86:   instantiated from `static
itk::SmartPointer<itk::Hessian3DToVesselnessMeasureImageFilter<TPixel> >
itk::Hessian3DToVesselnessMeasureImageFilter<TPixel>::New() [with TPixel
= OutputPixelType]'
/home/rcatwood/progs/itk_progs_cvs/itk_hes_rca.cxx:104:   instantiated
from here
/usr/local/encap/ITK-2.6.0.3/include/InsightToolkit/BasicFilters/itkHess
ian3DToVesselnessMeasureImageFilter.txx:40: error: '
   class itk::Hessian3DToVesselnessMeasureImageFilter<OutputPixelType>'
has no 
   member named 'm_SymmetricEigenValueFilter'
/usr/local/encap/ITK-2.6.0.3/include/InsightToolkit/BasicFilters/itkHess
ian3DToVesselnessMeasureImageFilter.h:86:   instantiated from `static
itk::SmartPointer<itk::Hessian3DToVesselnessMeasureImageFilter<TPixel> >
itk::Hessian3DToVesselnessMeasureImageFilter<TPixel>::New() [with TPixel
= OutputPixelType]'
/home/rcatwood/progs/itk_progs_cvs/itk_hes_rca.cxx:104:   instantiated
from here
/usr/local/encap/ITK-2.6.0.3/include/InsightToolkit/BasicFilters/itkHess
ian3DToVesselnessMeasureImageFilter.txx:41: error: non-constant
   `
 
itk::Hessian3DToVesselnessMeasureImageFilter<OutputPixelType>::InputPixe
lDimension
   ' cannot be used as template argument
/usr/local/encap/ITK-2.6.0.3/include/InsightToolkit/BasicFilters/itkHess
ian3DToVesselnessMeasureImageFilter.txx:41: error: '
   class itk::Hessian3DToVesselnessMeasureImageFilter<OutputPixelType>'
has no 
   member named 'm_SymmetricEigenValueFilter'
make[3]: *** [CMakeFiles/itk_hes_rca.dir/itk_hes_rca.o] Error 1
make[2]: *** [CMakeFiles/itk_hes_rca.dir/all] Error 2
make[1]: *** [CMakeFiles/itk_hes_rca.dir/rule] Error 2
make: *** [itk_hes_rca] Error 2


More information about the Insight-users mailing list