<div>John,</div>
<div> </div>
<div>This is really a Slicer3 specific problem. It is related to recent changes to itkNumericTraits. John, update your slicer3 source tree. This problem was fixed about 10 days ago.</div>
<div> </div>
<div>Bill</div>
<div><br><br> </div>
<div class="gmail_quote">On Dec 20, 2007 4:41 PM, kent williams <<a href="mailto:nkwmailinglists@gmail.com">nkwmailinglists@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I realize the error messages are pretty wooly, but hey, welcome to G++!<br><br>The root problem is that there is no predefined itk::NumericTraits
<br>class for the type 'long long' . You could define your own -- look<br>at Insight/Code/Common/itkNumericTraits.h for examples of how it<br>instantiates NumericTraits for other scalar types.<br><br>Why are you using an image type of itk::Image<long long int,2>? Is
<br>there a reason for trying to get 64 or 128-bit integer precision?<br>There isn't any file format I know of that supports long long int as a<br>pixel type.<br><br><br>Not every compiler in the world supports 'long long', which explains why
<br>
<div>
<div></div>
<div class="Wj3C7c"><br>On Dec 20, 2007 3:02 PM, John Breen <<a href="mailto:johnbreen@gmail.com">johnbreen@gmail.com</a>> wrote:<br>> I am having some trouble building vtkITK.<br>><br>> Latest CVS Builds of VTK and ITK (maybe this is my problem)
<br>><br>> Linux 2.6.23.8-34.fc7 #1 SMP Thu Nov 22 20:39:56 EST 2007 x86_64 x86_64<br>> x86_64 GNU/Linux<br>><br>> johnbreen@aml _d6_1 ~/johnbreen/SIGN/libs/vtkITK: > make<br>> [ 0%] Building CXX object
<br>> libs/vtkITK/CMakeFiles/vtkITK.dir/vtkITKLevelTracingImageFilter.o<br>> /home/johnbreen/johnbreen/SIGN/libs/vtkITK/itkLevelTracingImageFilter.txx:<br>> In constructor 'itk::LevelTracingImageFunction<TInputImage,
<br>> TCoordRep>::LevelTracingImageFunction() [with TInputImage = itk::Image<long<br>> long int, 2u>, TCoordRep = double]':<br>> /home/johnbreen/johnbreen/SIGN/libs/vtkITK/itkLevelTracingImageFilter.txx:30:
<br>> instantiated from 'static<br>> itk::SmartPointer<itk::LevelTracingImageFunction<TInputImage, TCoordRep> ><br>> itk::LevelTracingImageFunction<TInputImage, TCoordRep>::New() [with<br>> TInputImage = itk::Image<long long int, 2u>, TCoordRep = double]'
<br>> /home/johnbreen/johnbreen/SIGN/libs/vtkITK/itkLevelTracingImageFilter.txx:466:<br>> instantiated from 'void itk::LevelTracingImageFilter<TInputImage,<br>> TOutputImage>::Trace(const itk::LevelTracingImageFilter<TInputImage,
<br>> TOutputImage>::DispatchBase&) [with TInputImage = itk::Image<long long int,<br>> 2u>, TOutputImage = itk::Image<long long int, 2u>]'<br>> /home/johnbreen/johnbreen/SIGN/libs/vtkITK/vtkITKLevelTracingImageFilter.cxx:356:
<br>> instantiated from here<br>> /home/johnbreen/johnbreen/SIGN/libs/vtkITK/itkLevelTracingImageFilter.txx:148:<br>> error: no matching function for call to 'itk::NumericTraits<long long<br>> int>::min()'
<br>> /home/johnbreen/johnbreen/Insight/Code/Common/itkNumericTraits.h:109: note:<br>> candidates are: static T itk::NumericTraits<T>::min(const T&) [with T = long<br>> long int]<br>> /home/johnbreen/johnbreen/SIGN/libs/vtkITK/itkLevelTracingImageFilter.txx:
<br>> In member function 'bool itk::LevelTracingImageFunction<TInputImage,<br>> TCoordRep>::EvaluateAtIndex(const typename itk::ImageFunction<TInputImage,<br>> bool, TCoordRep>::IndexType&) const [with TInputImage = itk::Image<long long
<br>> int, 2u>, TCoordRep = double]':<br>> /home/johnbreen/johnbreen/SIGN/libs/vtkITK/vtkITKLevelTracingImageFilter.cxx:357:<br>> instantiated from here<br>> /home/johnbreen/johnbreen/SIGN/libs/vtkITK/itkLevelTracingImageFilter.txx:103:
<br>> error: no matching function for call to 'itk::NumericTraits<long long<br>> int>::min()'<br>> /home/johnbreen/johnbreen/Insight/Code/Common/itkNumericTraits.h:109: note:<br>> candidates are: static T itk::NumericTraits<T>::min(const T&) [with T = long
<br>> long int]<br>> make[2]: ***<br>> [libs/vtkITK/CMakeFiles/vtkITK.dir/vtkITKLevelTracingImageFilter.o] Error 1<br>> make[1]: *** [libs/vtkITK/CMakeFiles/vtkITK.dir/all] Error 2<br>> make: *** [all] Error 2
<br>> johnbreen@aml_d6_1 ~/johnbreen/SIGN/libs/vtkITK: ><br>><br>><br>> johnbreen@aml_d6_1 ~/johnbreen/SIGN/libs/vtkITK: > svn info<br>> Path: .<br>> URL: <a href="http://www.na-mic.org/svn/Slicer3/trunk/Libs/vtkITK" target="_blank">
http://www.na-mic.org/svn/Slicer3/trunk/Libs/vtkITK</a><br>> Repository Root: <a href="http://www.na-mic.org/svn/Slicer3" target="_blank">http://www.na-mic.org/svn/Slicer3</a><br>> Repository UUID: 3bd1e089-480b-0410-8dfb-8563597acbee
<br>> Revision: 5303<br>> Node Kind: directory<br>> Schedule: normal<br>> Last Changed Author: millerjv<br>> Last Changed Rev: 5154<br>> Last Changed Date: 2007-12-11 12:46:23 -0500 (Tue, 11 Dec 2007)<br>
><br>><br>> Any ideas would be helpful.<br>> Thanks,<br>> --John<br>><br></div></div>> _______________________________________________<br>> Insight-users mailing list<br>> <a href="mailto:Insight-users@itk.org">
Insight-users@itk.org</a><br>> <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>><br>><br>_______________________________________________
<br>Insight-users mailing list<br><a href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><br><a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users
</a><br></blockquote></div><br>