<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> </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> </DIV>
<DIV>I create the GIFT makefile with cmake with no problems. But get compilation errors when I try to compile it.</DIV>
<DIV> </DIV>
<DIV>Does anyone know how to compile GIFT?</DIV>
<DIV> </DIV>
<DIV>Thanx</DIV>
<DIV>Benon</DIV>
<DIV> </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> 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> from /home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Source/<WBR>giftQmfWaveletImageFilter.h:<WBR>27,<BR> 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><TImage>::<WBR>ModifyInputOutputStorage() [with TImage = itk::Image<double, 3u>]’:<BR>/home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Source/<WBR>giftMultilevelMultibandImageFi<WBR>lter.h:98: instantiated from ‘void gift::<WBR>MultilevelMultibandImageFilter<WBR><TImage>::<WBR>SetNumberOfInputLevels(<WBR>unsigned int) [with TImage = itk::Image<double, 3u>]’<BR>/home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Source/<WBR>giftQmfWaveletImageFilter.h:<WBR>92: instantiated from ‘void gift::QmfWaveletImageFilter<<WBR>TImage, TWavelet>::SetNumberOfLevels(<WBR>unsigned int) [with TImage = itk::Image<double, 3u>, TWavelet = gift::<WBR>BiorthogonalWaveletOperator<<WBR>double, 3u, itk::NeighborhoodAllocator<<WBR>double> >]’<BR>/home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Examples/Fusion/<WBR>giftExampleFusionQmfWavelet1.<WBR>cxx:117: 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: instantiated from ‘void gift::<WBR>MultilevelMultibandImageFilter<WBR><TImage>::<WBR>SetNumberOfInputLevels(<WBR>unsigned int) [with TImage = itk::Image<double, 3u>]’<BR>/home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Source/<WBR>giftQmfWaveletImageFilter.h:<WBR>92: instantiated from ‘void gift::QmfWaveletImageFilter<<WBR>TImage, TWavelet>::SetNumberOfLevels(<WBR>unsigned int) [with TImage = itk::Image<double, 3u>, TWavelet = gift::<WBR>BiorthogonalWaveletOperator<<WBR>double, 3u, itk::NeighborhoodAllocator<<WBR>double> >]’<BR>/home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Examples/Fusion/<WBR>giftExampleFusionQmfWavelet1.<WBR>cxx:117: 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> 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<<WBR>TImage>::GenerateData() [with TImage = itk::Image<double, 3u>]’:<BR>/home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Examples/Fusion/<WBR>giftExampleFusionQmfWavelet1.<WBR>cxx:186: 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> 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<TImage>::<WBR>GenerateData() [with TImage = itk::Image<double, 3u>]’:<BR>/home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Examples/Fusion/<WBR>giftExampleFusionQmfWavelet1.<WBR>cxx:186: 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> 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<<WBR>TImage, TWavelet>::<WBR>GenerateInputRequestedRegion() [with TImage = itk::Image<double, 3u>, TWavelet = gift::<WBR>BiorthogonalWaveletOperator<<WBR>double, 3u, itk::NeighborhoodAllocator<<WBR>double> >]’:<BR>/home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Examples/Fusion/<WBR>giftExampleFusionQmfWavelet1.<WBR>cxx:186: 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<<WBR>VImageDimension>::PadByRadius(<WBR>typename itk::Index<ImageDimension>::<WBR>IndexValueType) [with unsigned int VImageDimension = 3u] <near match><BR>/usr/local/include/<WBR>InsightToolkit/Common/<WBR>itkImageRegion.txx:105: note: void itk::ImageRegion<<WBR>VImageDimension>::PadByRadius(<WBR>const typename itk::Index<ImageDimension>::<WBR>IndexValueType*) [with unsigned int VImageDimension = 3u] <near match><BR>In file included from /home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Source/<WBR>giftUpsampleImageFilter.h:125,<BR> from /home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Source/<WBR>giftQmfWaveletImageFilter.txx:<WBR>23,<BR> from /home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Source/<WBR>giftQmfWaveletImageFilter.h:<WBR>174,<BR> 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<<WBR>TInputImage, TOutputImage>::<WBR>ThreadedGenerateData(const typename TOutputImage::RegionType&, int) [with TInputImage = itk::Image<double, 3u>, TOutputImage = itk::Image<double, 3u>]’:<BR>/home/benon/Desktop/ITK/GIFT/<WBR>GIFT/Examples/Fusion/<WBR>giftExampleFusionQmfWavelet1.<WBR>cxx:186: 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>