[Insight-users] Generalized Image Fusion Toolkit

Benon Kagezi bkagezi at csir.co.za
Fri Oct 15 08:33:46 EDT 2010


Hi guys
 
I am trying to compile the GIFT toolkit that is based on ITK.
I have ITK already installed. I am running on linux (Ubuntu) gcc 4.4.3
 
I create the GIFT makefile with cmake with no problems. But get
compilation errors when I try to compile it.
 
Does anyone know how to compile GIFT?
 
Thanx
Benon
 
Here is my output:
benon at benon-laptop:~/Desktop/ITK/GIFT/gift_binaries$ make
[ 40%] Building CXX object Source/CMakeFiles/GIFT.dir/giftEmpty.o
Linking CXX static library ../bin/libGIFT.a
[ 40%] Built target GIFT
[ 40%] Building CXX object
Examples/Fusion/CMakeFiles/giftExampleFusionQmfWavelet1.dir/giftExampleFusionQmfWavelet1.o
In file included from
/home/benon/Desktop/ITK/GIFT/GIFT/Source/giftImageFusionFilter.h:194,
                 from
/home/benon/Desktop/ITK/GIFT/GIFT/Examples/Fusion/giftExampleFusionQmfWavelet1.cxx:58:
/home/benon/Desktop/ITK/GIFT/GIFT/Source/giftImageFusionFilter.txx:240:21:
warning: multi-line comment
In file included from
/home/benon/Desktop/ITK/GIFT/GIFT/Source/giftMultilevelMultibandImageFilter.h:314,
                 from
/home/benon/Desktop/ITK/GIFT/GIFT/Source/giftQmfWaveletImageFilter.h:27,
                 from
/home/benon/Desktop/ITK/GIFT/GIFT/Examples/Fusion/giftExampleFusionQmfWavelet1.cxx:49:
/home/benon/Desktop/ITK/GIFT/GIFT/Source/giftMultilevelMultibandImageFilter.txx:
In member function ‘void
gift::MultilevelMultibandImageFilter<TImage>::ModifyInputOutputStorage()
[with TImage = itk::Image<double, 3u>]’:
/home/benon/Desktop/ITK/GIFT/GIFT/Source/giftMultilevelMultibandImageFilter.h:98:
  instantiated from ‘void
gift::MultilevelMultibandImageFilter<TImage>::SetNumberOfInputLevels(unsigned
int) [with TImage = itk::Image<double, 3u>]’
/home/benon/Desktop/ITK/GIFT/GIFT/Source/giftQmfWaveletImageFilter.h:92:
  instantiated from ‘void gift::QmfWaveletImageFilter<TImage,
TWavelet>::SetNumberOfLevels(unsigned int) [with TImage =
itk::Image<double, 3u>, TWavelet =
gift::BiorthogonalWaveletOperator<double, 3u,
itk::NeighborhoodAllocator<double> >]’
/home/benon/Desktop/ITK/GIFT/GIFT/Examples/Fusion/giftExampleFusionQmfWavelet1.cxx:117:
  instantiated from here
/home/benon/Desktop/ITK/GIFT/GIFT/Source/giftMultilevelMultibandImageFilter.txx:75:
warning: comparison between signed and unsigned integer expressions
/home/benon/Desktop/ITK/GIFT/GIFT/Source/giftMultilevelMultibandImageFilter.h:98:
  instantiated from ‘void
gift::MultilevelMultibandImageFilter<TImage>::SetNumberOfInputLevels(unsigned
int) [with TImage = itk::Image<double, 3u>]’
/home/benon/Desktop/ITK/GIFT/GIFT/Source/giftQmfWaveletImageFilter.h:92:
  instantiated from ‘void gift::QmfWaveletImageFilter<TImage,
TWavelet>::SetNumberOfLevels(unsigned int) [with TImage =
itk::Image<double, 3u>, TWavelet =
gift::BiorthogonalWaveletOperator<double, 3u,
itk::NeighborhoodAllocator<double> >]’
/home/benon/Desktop/ITK/GIFT/GIFT/Examples/Fusion/giftExampleFusionQmfWavelet1.cxx:117:
  instantiated from here
/home/benon/Desktop/ITK/GIFT/GIFT/Source/giftMultilevelMultibandImageFilter.txx:84:
warning: comparison between signed and unsigned integer expressions
In file included from
/home/benon/Desktop/ITK/GIFT/GIFT/Source/giftAbsSampleActivity.h:118,
                 from
/home/benon/Desktop/ITK/GIFT/GIFT/Examples/Fusion/giftExampleFusionQmfWavelet1.cxx:51:
/home/benon/Desktop/ITK/GIFT/GIFT/Source/giftAbsSampleActivity.txx: In
member function ‘void gift::AbsSampleActivity<TImage>::GenerateData()
[with TImage = itk::Image<double, 3u>]’:
/home/benon/Desktop/ITK/GIFT/GIFT/Examples/Fusion/giftExampleFusionQmfWavelet1.cxx:186:
  instantiated from here
/home/benon/Desktop/ITK/GIFT/GIFT/Source/giftAbsSampleActivity.txx:63:
warning: unused variable ‘numberOfInputs’
In file included from
/home/benon/Desktop/ITK/GIFT/GIFT/Source/giftSampleActivity.h:118,
                 from
/home/benon/Desktop/ITK/GIFT/GIFT/Examples/Fusion/giftExampleFusionQmfWavelet1.cxx:50:
/home/benon/Desktop/ITK/GIFT/GIFT/Source/giftSampleActivity.txx: In
member function ‘void gift::SampleActivity<TImage>::GenerateData() [with
TImage = itk::Image<double, 3u>]’:
/home/benon/Desktop/ITK/GIFT/GIFT/Examples/Fusion/giftExampleFusionQmfWavelet1.cxx:186:
  instantiated from here
/home/benon/Desktop/ITK/GIFT/GIFT/Source/giftSampleActivity.txx:62:
warning: unused variable ‘numberOfInputs’
In file included from
/home/benon/Desktop/ITK/GIFT/GIFT/Source/giftQmfWaveletImageFilter.h:174,
                 from
/home/benon/Desktop/ITK/GIFT/GIFT/Examples/Fusion/giftExampleFusionQmfWavelet1.cxx:49:
/home/benon/Desktop/ITK/GIFT/GIFT/Source/giftQmfWaveletImageFilter.txx:
In member function ‘void gift::QmfWaveletImageFilter<TImage,
TWavelet>::GenerateInputRequestedRegion() [with TImage =
itk::Image<double, 3u>, TWavelet =
gift::BiorthogonalWaveletOperator<double, 3u,
itk::NeighborhoodAllocator<double> >]’:
/home/benon/Desktop/ITK/GIFT/GIFT/Examples/Fusion/giftExampleFusionQmfWavelet1.cxx:186:
  instantiated from here
/home/benon/Desktop/ITK/GIFT/GIFT/Source/giftQmfWaveletImageFilter.txx:420:
error: call of overloaded ‘PadByRadius(long unsigned int [3])’ is
ambiguous
/usr/local/include/InsightToolkit/Common/itkImageRegion.txx:78: note:
candidates are: void
itk::ImageRegion<VImageDimension>::PadByRadius(typename
itk::Index<ImageDimension>::IndexValueType) [with unsigned int
VImageDimension = 3u] <near match>
/usr/local/include/InsightToolkit/Common/itkImageRegion.txx:105: note: 
               void itk::ImageRegion<VImageDimension>::PadByRadius(const
typename itk::Index<ImageDimension>::IndexValueType*) [with unsigned int
VImageDimension = 3u] <near match>
In file included from
/home/benon/Desktop/ITK/GIFT/GIFT/Source/giftUpsampleImageFilter.h:125,
                 from
/home/benon/Desktop/ITK/GIFT/GIFT/Source/giftQmfWaveletImageFilter.txx:23,
                 from
/home/benon/Desktop/ITK/GIFT/GIFT/Source/giftQmfWaveletImageFilter.h:174,
                 from
/home/benon/Desktop/ITK/GIFT/GIFT/Examples/Fusion/giftExampleFusionQmfWavelet1.cxx:49:
/home/benon/Desktop/ITK/GIFT/GIFT/Source/giftUpsampleImageFilter.txx:
In member function ‘void gift::UpsampleImageFilter<TInputImage,
TOutputImage>::ThreadedGenerateData(const typename
TOutputImage::RegionType&, int) [with TInputImage = itk::Image<double,
3u>, TOutputImage = itk::Image<double, 3u>]’:
/home/benon/Desktop/ITK/GIFT/GIFT/Examples/Fusion/giftExampleFusionQmfWavelet1.cxx:186:
  instantiated from here
/home/benon/Desktop/ITK/GIFT/GIFT/Source/giftUpsampleImageFilter.txx:135:
warning: comparison between signed and unsigned integer expressions
make[2]: ***
[Examples/Fusion/CMakeFiles/giftExampleFusionQmfWavelet1.dir/giftExampleFusionQmfWavelet1.o]
Error 1
make[1]: ***
[Examples/Fusion/CMakeFiles/giftExampleFusionQmfWavelet1.dir/all] Error
2
make: *** [all] Error 2

-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their support.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20101015/ce001168/attachment.htm>


More information about the Insight-users mailing list