[Insight-users] itk compilation error

Bill Lorensen bill.lorensen at gmail.com
Thu Nov 5 12:19:57 EST 2009


What CMake options are you using? I don't see this Templates directory
in my builds. Are wrapping?

Bill

On Thu, Nov 5, 2009 at 11:33 AM, Ricardo Ferrari
<rjf.araraquara at gmail.com> wrote:
> 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
>
>
>
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>


More information about the Insight-users mailing list