[Insight-users] itk compilation error

Ricardo Ferrari rjf.araraquara at gmail.com
Thu Nov 5 11:33:29 EST 2009


Hi guys,

Trying to compile one of my programs I got the following error messages

/usr/local/include/InsightToolkit/Common/itkVector.h:68: error: no type
named ‘RealType’ in ‘class itk::NumericTraits<itk::Image<short int, 3u> >’

After that, I update my itk source to cvs head and clean out everything with
a "make clean". Then I run ccmake to generate a new CMakeLists.txt.

After all this, I go the following error when trying to compile itk


[ 55%] Building CXX object
Code/Common/CMakeFiles/ITKCommon.dir/Templates/itkGaussianDerivativeSpatialFunctionD1PD1.cxx.o
In file included from
/home/ferrari/Software/ITK/bin/Code/Common/Templates/itkGaussianDerivativeSpatialFunctionD1PD1.cxx:2:
/home/ferrari/Software/ITK/Insight/Code/Common/itkGaussianDerivativeSpatialFunction.txx:
In member function ‘typename itk::GaussianDerivativeSpatialFunction<TOutput,
VImageDimension, TInput>::OutputType
itk::GaussianDerivativeSpatialFunction<TOutput, VImageDimension,
TInput>::Evaluate(const TInput&) const’:
/home/ferrari/Software/ITK/Insight/Code/Common/itkGaussianDerivativeSpatialFunction.txx:63:
error: ‘vnl_math’ has not been declared
make[2]: ***
[Code/Common/CMakeFiles/ITKCommon.dir/Templates/itkGaussianDerivativeSpatialFunctionD1PD1.cxx.o]
Error 1
make[1]: *** [Code/Common/CMakeFiles/ITKCommon.dir/all] Error 2
make: *** [all] Error 2

I am running under Ubuntu 9.10.

Any help is really appreciate.

Thanks,
Ricardo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20091105/480ce245/attachment-0001.htm>


More information about the Insight-users mailing list