<div>John,</div>
<div>&nbsp;</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>&nbsp;</div>
<div>Bill</div>
<div><br><br>&nbsp;</div>
<div class="gmail_quote">On Dec 20, 2007 4:41 PM, kent williams &lt;<a href="mailto:nkwmailinglists@gmail.com">nkwmailinglists@gmail.com</a>&gt; 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 &#39;long long&#39; . &nbsp; 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&lt;long long int,2&gt;? &nbsp;Is
<br>there a reason for trying to get 64 or 128-bit integer precision?<br>There isn&#39;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 &#39;long long&#39;, which explains why
<br>
<div>
<div></div>
<div class="Wj3C7c"><br>On Dec 20, 2007 3:02 PM, John Breen &lt;<a href="mailto:johnbreen@gmail.com">johnbreen@gmail.com</a>&gt; wrote:<br>&gt; I am having some trouble building vtkITK.<br>&gt;<br>&gt; Latest CVS Builds of VTK and ITK (maybe this is my problem)
<br>&gt;<br>&gt; Linux 2.6.23.8-34.fc7 #1 SMP Thu Nov 22 20:39:56 EST 2007 x86_64 x86_64<br>&gt; x86_64 GNU/Linux<br>&gt;<br>&gt; johnbreen@aml _d6_1 ~/johnbreen/SIGN/libs/vtkITK: &gt; make<br>&gt; [ &nbsp;0%] Building CXX object
<br>&gt; libs/vtkITK/CMakeFiles/vtkITK.dir/vtkITKLevelTracingImageFilter.o<br>&gt; /home/johnbreen/johnbreen/SIGN/libs/vtkITK/itkLevelTracingImageFilter.txx:<br>&gt; In constructor &#39;itk::LevelTracingImageFunction&lt;TInputImage,
<br>&gt; TCoordRep&gt;::LevelTracingImageFunction() [with TInputImage = itk::Image&lt;long<br>&gt; long int, 2u&gt;, TCoordRep = double]&#39;:<br>&gt; /home/johnbreen/johnbreen/SIGN/libs/vtkITK/itkLevelTracingImageFilter.txx:30:
<br>&gt; instantiated from &#39;static<br>&gt; itk::SmartPointer&lt;itk::LevelTracingImageFunction&lt;TInputImage, TCoordRep&gt; &gt;<br>&gt; itk::LevelTracingImageFunction&lt;TInputImage, TCoordRep&gt;::New() [with<br>&gt; TInputImage = itk::Image&lt;long long int, 2u&gt;, TCoordRep = double]&#39;
<br>&gt; /home/johnbreen/johnbreen/SIGN/libs/vtkITK/itkLevelTracingImageFilter.txx:466:<br>&gt; instantiated from &#39;void itk::LevelTracingImageFilter&lt;TInputImage,<br>&gt; TOutputImage&gt;::Trace(const itk::LevelTracingImageFilter&lt;TInputImage,
<br>&gt; TOutputImage&gt;::DispatchBase&amp;) [with TInputImage = itk::Image&lt;long long int,<br>&gt; 2u&gt;, TOutputImage = itk::Image&lt;long long int, 2u&gt;]&#39;<br>&gt; /home/johnbreen/johnbreen/SIGN/libs/vtkITK/vtkITKLevelTracingImageFilter.cxx:356:
<br>&gt; instantiated from here<br>&gt; /home/johnbreen/johnbreen/SIGN/libs/vtkITK/itkLevelTracingImageFilter.txx:148:<br>&gt; error: no matching function for call to &#39;itk::NumericTraits&lt;long long<br>&gt; int&gt;::min()&#39;
<br>&gt; /home/johnbreen/johnbreen/Insight/Code/Common/itkNumericTraits.h:109: note:<br>&gt; candidates are: static T itk::NumericTraits&lt;T&gt;::min(const T&amp;) [with T = long<br>&gt; long int]<br>&gt; /home/johnbreen/johnbreen/SIGN/libs/vtkITK/itkLevelTracingImageFilter.txx:
<br>&gt; In member function &#39;bool itk::LevelTracingImageFunction&lt;TInputImage,<br>&gt; TCoordRep&gt;::EvaluateAtIndex(const typename itk::ImageFunction&lt;TInputImage,<br>&gt; bool, TCoordRep&gt;::IndexType&amp;) const [with TInputImage = itk::Image&lt;long long
<br>&gt; int, 2u&gt;, TCoordRep = double]&#39;:<br>&gt; /home/johnbreen/johnbreen/SIGN/libs/vtkITK/vtkITKLevelTracingImageFilter.cxx:357:<br>&gt; instantiated from here<br>&gt; /home/johnbreen/johnbreen/SIGN/libs/vtkITK/itkLevelTracingImageFilter.txx:103:
<br>&gt; error: no matching function for call to &#39;itk::NumericTraits&lt;long long<br>&gt; int&gt;::min()&#39;<br>&gt; /home/johnbreen/johnbreen/Insight/Code/Common/itkNumericTraits.h:109: note:<br>&gt; candidates are: static T itk::NumericTraits&lt;T&gt;::min(const T&amp;) [with T = long
<br>&gt; long int]<br>&gt; make[2]: ***<br>&gt; [libs/vtkITK/CMakeFiles/vtkITK.dir/vtkITKLevelTracingImageFilter.o] Error 1<br>&gt; make[1]: *** [libs/vtkITK/CMakeFiles/vtkITK.dir/all] Error 2<br>&gt; make: *** [all] Error 2
<br>&gt; johnbreen@aml_d6_1 ~/johnbreen/SIGN/libs/vtkITK: &gt;<br>&gt;<br>&gt;<br>&gt; johnbreen@aml_d6_1 ~/johnbreen/SIGN/libs/vtkITK: &gt; svn info<br>&gt; Path: .<br>&gt; 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>&gt; Repository Root: <a href="http://www.na-mic.org/svn/Slicer3" target="_blank">http://www.na-mic.org/svn/Slicer3</a><br>&gt; Repository UUID: 3bd1e089-480b-0410-8dfb-8563597acbee
<br>&gt; Revision: 5303<br>&gt; Node Kind: directory<br>&gt; Schedule: normal<br>&gt; Last Changed Author: millerjv<br>&gt; Last Changed Rev: 5154<br>&gt; Last Changed Date: 2007-12-11 12:46:23 -0500 (Tue, 11 Dec 2007)<br>
&gt;<br>&gt;<br>&gt; Any ideas would be helpful.<br>&gt; Thanks,<br>&gt; --John<br>&gt;<br></div></div>&gt; _______________________________________________<br>&gt; Insight-users mailing list<br>&gt; <a href="mailto:Insight-users@itk.org">
Insight-users@itk.org</a><br>&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>&gt;<br>&gt;<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>