[Insight-users] vtkITK Linux Compile Issues
John Breen
johnbreen at gmail.com
Thu Dec 20 16:02:11 EST 2007
I am having some trouble building vtkITK.
Latest CVS Builds of VTK and ITK (maybe this is my problem)
Linux 2.6.23.8-34.fc7 #1 SMP Thu Nov 22 20:39:56 EST 2007 x86_64 x86_64
x86_64 GNU/Linux
johnbreen at aml_d6_1 ~/johnbreen/SIGN/libs/vtkITK: > make
[ 0%] Building CXX object
libs/vtkITK/CMakeFiles/vtkITK.dir/vtkITKLevelTracingImageFilter.o
/home/johnbreen/johnbreen/SIGN/libs/vtkITK/itkLevelTracingImageFilter.txx:
In constructor 'itk::LevelTracingImageFunction<TInputImage,
TCoordRep>::LevelTracingImageFunction() [with TInputImage = itk::Image<long
long int, 2u>, TCoordRep = double]':
/home/johnbreen/johnbreen/SIGN/libs/vtkITK/itkLevelTracingImageFilter.txx:30:
instantiated from 'static
itk::SmartPointer<itk::LevelTracingImageFunction<TInputImage, TCoordRep> >
itk::LevelTracingImageFunction<TInputImage, TCoordRep>::New() [with
TInputImage = itk::Image<long long int, 2u>, TCoordRep = double]'
/home/johnbreen/johnbreen/SIGN/libs/vtkITK/itkLevelTracingImageFilter.txx:466:
instantiated from 'void itk::LevelTracingImageFilter<TInputImage,
TOutputImage>::Trace(const itk::LevelTracingImageFilter<TInputImage,
TOutputImage>::DispatchBase&) [with TInputImage = itk::Image<long long int,
2u>, TOutputImage = itk::Image<long long int, 2u>]'
/home/johnbreen/johnbreen/SIGN/libs/vtkITK/vtkITKLevelTracingImageFilter.cxx:356:
instantiated from here
/home/johnbreen/johnbreen/SIGN/libs/vtkITK/itkLevelTracingImageFilter.txx:148:
error: no matching function for call to 'itk::NumericTraits<long long
int>::min()'
/home/johnbreen/johnbreen/Insight/Code/Common/itkNumericTraits.h:109: note:
candidates are: static T itk::NumericTraits<T>::min(const T&) [with T = long
long int]
/home/johnbreen/johnbreen/SIGN/libs/vtkITK/itkLevelTracingImageFilter.txx:
In member function 'bool itk::LevelTracingImageFunction<TInputImage,
TCoordRep>::EvaluateAtIndex(const typename itk::ImageFunction<TInputImage,
bool, TCoordRep>::IndexType&) const [with TInputImage = itk::Image<long long
int, 2u>, TCoordRep = double]':
/home/johnbreen/johnbreen/SIGN/libs/vtkITK/vtkITKLevelTracingImageFilter.cxx:357:
instantiated from here
/home/johnbreen/johnbreen/SIGN/libs/vtkITK/itkLevelTracingImageFilter.txx:103:
error: no matching function for call to 'itk::NumericTraits<long long
int>::min()'
/home/johnbreen/johnbreen/Insight/Code/Common/itkNumericTraits.h:109: note:
candidates are: static T itk::NumericTraits<T>::min(const T&) [with T = long
long int]
make[2]: ***
[libs/vtkITK/CMakeFiles/vtkITK.dir/vtkITKLevelTracingImageFilter.o] Error 1
make[1]: *** [libs/vtkITK/CMakeFiles/vtkITK.dir/all] Error 2
make: *** [all] Error 2
johnbreen at aml_d6_1 ~/johnbreen/SIGN/libs/vtkITK: >
johnbreen at aml_d6_1 ~/johnbreen/SIGN/libs/vtkITK: > svn info
Path: .
URL: http://www.na-mic.org/svn/Slicer3/trunk/Libs/vtkITK
Repository Root: http://www.na-mic.org/svn/Slicer3
Repository UUID: 3bd1e089-480b-0410-8dfb-8563597acbee
Revision: 5303
Node Kind: directory
Schedule: normal
Last Changed Author: millerjv
Last Changed Rev: 5154
Last Changed Date: 2007-12-11 12:46:23 -0500 (Tue, 11 Dec 2007)
Any ideas would be helpful.
Thanks,
--John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20071220/7134347a/attachment.html
More information about the Insight-users
mailing list