<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.6000.16981" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>Hi guys</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am trying to compile the GIFT toolkit that is based on ITK.</DIV>
<DIV>I have ITK already installed. I am running on linux (Ubuntu) gcc 4.4.3</DIV>
<DIV>&nbsp;</DIV>
<DIV>I create the GIFT makefile with cmake with no problems. But get compilation errors when I try to compile it.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Does anyone know how to compile GIFT?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanx</DIV>
<DIV>Benon</DIV>
<DIV>&nbsp;</DIV>
<DIV>Here is my output:</DIV>
<DIV>benon@benon-laptop:~/Desktop/<WBR>ITK/GIFT/gift_binaries$ make<BR>[ 40%] Building CXX object Source/CMakeFiles/GIFT.dir/<WBR>giftEmpty.o<BR>Linking CXX static library ../bin/libGIFT.a<BR>[ 40%] Built target GIFT<BR>[ 40%] Building CXX object Examples/Fusion/CMakeFiles/<WBR>giftExampleFusionQmfWavelet1.<WBR>dir/<WBR>giftExampleFusionQmfWavelet1.o<BR>In file included from /home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Source/<WBR>giftImageFusionFilter.h:194,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Examples/Fusion/<WBR>giftExampleFusionQmfWavelet1.<WBR>cxx:58:<BR>/home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Source/<WBR>giftImageFusionFilter.txx:240:<WBR>21: warning: multi-line comment<BR>In file included from /home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Source/<WBR>giftMultilevelMultibandImageFi<WBR>lter.h:314,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Source/<WBR>giftQmfWaveletImageFilter.h:<WBR>27,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Examples/Fusion/<WBR>giftExampleFusionQmfWavelet1.<WBR>cxx:49:<BR>/home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Source/<WBR>giftMultilevelMultibandImageFi<WBR>lter.txx: In member function ‘void gift::<WBR>MultilevelMultibandImageFilter<WBR>&lt;TImage&gt;::<WBR>ModifyInputOutputStorage() [with TImage = itk::Image&lt;double, 3u&gt;]’:<BR>/home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Source/<WBR>giftMultilevelMultibandImageFi<WBR>lter.h:98:&nbsp;&nbsp; instantiated from ‘void gift::<WBR>MultilevelMultibandImageFilter<WBR>&lt;TImage&gt;::<WBR>SetNumberOfInputLevels(<WBR>unsigned int) [with TImage = itk::Image&lt;double, 3u&gt;]’<BR>/home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Source/<WBR>giftQmfWaveletImageFilter.h:<WBR>92:&nbsp;&nbsp; instantiated from ‘void gift::QmfWaveletImageFilter&lt;<WBR>TImage, TWavelet&gt;::SetNumberOfLevels(<WBR>unsigned int) [with TImage = itk::Image&lt;double, 3u&gt;, TWavelet = gift::<WBR>BiorthogonalWaveletOperator&lt;<WBR>double, 3u, itk::NeighborhoodAllocator&lt;<WBR>double&gt; &gt;]’<BR>/home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Examples/Fusion/<WBR>giftExampleFusionQmfWavelet1.<WBR>cxx:117:&nbsp;&nbsp; instantiated from here<BR>/home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Source/<WBR>giftMultilevelMultibandImageFi<WBR>lter.txx:75: warning: comparison between signed and unsigned integer expressions<BR>/home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Source/<WBR>giftMultilevelMultibandImageFi<WBR>lter.h:98:&nbsp;&nbsp; instantiated from ‘void gift::<WBR>MultilevelMultibandImageFilter<WBR>&lt;TImage&gt;::<WBR>SetNumberOfInputLevels(<WBR>unsigned int) [with TImage = itk::Image&lt;double, 3u&gt;]’<BR>/home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Source/<WBR>giftQmfWaveletImageFilter.h:<WBR>92:&nbsp;&nbsp; instantiated from ‘void gift::QmfWaveletImageFilter&lt;<WBR>TImage, TWavelet&gt;::SetNumberOfLevels(<WBR>unsigned int) [with TImage = itk::Image&lt;double, 3u&gt;, TWavelet = gift::<WBR>BiorthogonalWaveletOperator&lt;<WBR>double, 3u, itk::NeighborhoodAllocator&lt;<WBR>double&gt; &gt;]’<BR>/home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Examples/Fusion/<WBR>giftExampleFusionQmfWavelet1.<WBR>cxx:117:&nbsp;&nbsp; instantiated from here<BR>/home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Source/<WBR>giftMultilevelMultibandImageFi<WBR>lter.txx:84: warning: comparison between signed and unsigned integer expressions<BR>In file included from /home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Source/<WBR>giftAbsSampleActivity.h:118,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Examples/Fusion/<WBR>giftExampleFusionQmfWavelet1.<WBR>cxx:51:<BR>/home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Source/<WBR>giftAbsSampleActivity.txx: In member function ‘void gift::AbsSampleActivity&lt;<WBR>TImage&gt;::GenerateData() [with TImage = itk::Image&lt;double, 3u&gt;]’:<BR>/home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Examples/Fusion/<WBR>giftExampleFusionQmfWavelet1.<WBR>cxx:186:&nbsp;&nbsp; instantiated from here<BR>/home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Source/<WBR>giftAbsSampleActivity.txx:63: warning: unused variable ‘numberOfInputs’<BR>In file included from /home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Source/<WBR>giftSampleActivity.h:118,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Examples/Fusion/<WBR>giftExampleFusionQmfWavelet1.<WBR>cxx:50:<BR>/home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Source/<WBR>giftSampleActivity.txx: In member function ‘void gift::SampleActivity&lt;TImage&gt;::<WBR>GenerateData() [with TImage = itk::Image&lt;double, 3u&gt;]’:<BR>/home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Examples/Fusion/<WBR>giftExampleFusionQmfWavelet1.<WBR>cxx:186:&nbsp;&nbsp; instantiated from here<BR>/home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Source/<WBR>giftSampleActivity.txx:62: warning: unused variable ‘numberOfInputs’<BR>In file included from /home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Source/<WBR>giftQmfWaveletImageFilter.h:<WBR>174,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Examples/Fusion/<WBR>giftExampleFusionQmfWavelet1.<WBR>cxx:49:<BR>/home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Source/<WBR>giftQmfWaveletImageFilter.txx: In member function ‘void gift::QmfWaveletImageFilter&lt;<WBR>TImage, TWavelet&gt;::<WBR>GenerateInputRequestedRegion() [with TImage = itk::Image&lt;double, 3u&gt;, TWavelet = gift::<WBR>BiorthogonalWaveletOperator&lt;<WBR>double, 3u, itk::NeighborhoodAllocator&lt;<WBR>double&gt; &gt;]’:<BR>/home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Examples/Fusion/<WBR>giftExampleFusionQmfWavelet1.<WBR>cxx:186:&nbsp;&nbsp; instantiated from here<BR>/home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Source/<WBR>giftQmfWaveletImageFilter.txx:<WBR>420: error: call of overloaded ‘PadByRadius(long unsigned int [3])’ is ambiguous<BR>/usr/local/include/<WBR>InsightToolkit/Common/<WBR>itkImageRegion.txx:78: note: candidates are: void itk::ImageRegion&lt;<WBR>VImageDimension&gt;::PadByRadius(<WBR>typename itk::Index&lt;ImageDimension&gt;::<WBR>IndexValueType) [with unsigned int VImageDimension = 3u] &lt;near match&gt;<BR>/usr/local/include/<WBR>InsightToolkit/Common/<WBR>itkImageRegion.txx:105: note:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; void itk::ImageRegion&lt;<WBR>VImageDimension&gt;::PadByRadius(<WBR>const typename itk::Index&lt;ImageDimension&gt;::<WBR>IndexValueType*) [with unsigned int VImageDimension = 3u] &lt;near match&gt;<BR>In file included from /home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Source/<WBR>giftUpsampleImageFilter.h:125,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Source/<WBR>giftQmfWaveletImageFilter.txx:<WBR>23,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Source/<WBR>giftQmfWaveletImageFilter.h:<WBR>174,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Examples/Fusion/<WBR>giftExampleFusionQmfWavelet1.<WBR>cxx:49:<BR>/home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Source/<WBR>giftUpsampleImageFilter.txx: In member function ‘void gift::UpsampleImageFilter&lt;<WBR>TInputImage, TOutputImage&gt;::<WBR>ThreadedGenerateData(const typename TOutputImage::RegionType&amp;, int) [with TInputImage = itk::Image&lt;double, 3u&gt;, TOutputImage = itk::Image&lt;double, 3u&gt;]’:<BR>/home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Examples/Fusion/<WBR>giftExampleFusionQmfWavelet1.<WBR>cxx:186:&nbsp;&nbsp; instantiated from here<BR>/home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Source/<WBR>giftUpsampleImageFilter.txx:<WBR>135: warning: comparison between signed and unsigned integer expressions<BR>make[2]: *** [Examples/Fusion/CMakeFiles/<WBR>giftExampleFusionQmfWavelet1.<WBR>dir/<WBR>giftExampleFusionQmfWavelet1.<WBR>o] Error 1<BR>make[1]: *** [Examples/Fusion/CMakeFiles/<WBR>giftExampleFusionQmfWavelet1.<WBR>dir/all] Error 2<BR>make: *** [all] Error 2</DIV><font face="Verdana,Arial,Helvetica,Trebuchet MS" size="1">
<br />-- 
<br />This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
<br />The full disclaimer details can be found at <a href="http://www.csir.co.za/disclaimer.html">http://www.csir.co.za/disclaimer.html</a>.
<p>
<br />This message has been scanned for viruses and dangerous content by <a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, 
<br />and is believed to be clean.  MailScanner thanks <a href="http://www.transtec.co.uk/">Transtec Computers</a> for their support.
</font>
</BODY></HTML>