[Insight-users] ITK 3.4 examples build

Ruben Schilling r.b.schilling at googlemail.com
Fri Oct 5 05:58:42 EDT 2007


Hi all,

I built ITK 3.4 using cmake 2.4 patch 7 and fftw 3.1.2 on a SuSe 64 bit
Linux box. I seem to have a problem building the examples from ITK, that use
FFTW - is it maybe a version mismatch? Has anybody experienced errors like
the one I posted below?

Regards
Ruben


[ 81%] Building CXX object
Examples/Filtering/CMakeFiles/FilteringExamples6.dir/FilteringExamp
Linking CXX executable ../../bin/FilteringExamples6
CMakeFiles/FilteringExamples6.dir/FilteringExamples6.o: In function
`itk::FFTWRealToComplexCon
ateImageFilter()':
FilteringExamples6.cxx:
(.text._ZN3itk37FFTWRealToComplexConjugateImageFilterIfLj2EED0Ev[itk::F
RealToComplexConjugateImageFilter()]+0x29): undefined reference to
`fftwf_destroy_plan'
CMakeFiles/FilteringExamples6.dir/FilteringExamples6.o: In function
`itk::FFTWRealToComplexCon
ateImageFilter()':
FilteringExamples6.cxx:
(.text._ZN3itk37FFTWRealToComplexConjugateImageFilterIfLj2EED1Ev[itk::F
RealToComplexConjugateImageFilter()]+0x29): undefined reference to
`fftwf_destroy_plan'
CMakeFiles/FilteringExamples6.dir/FilteringExamples6.o: In function
`itk::FFTWComplexConjugate
ealImageFilter()':
FilteringExamples6.cxx:
(.text._ZN3itk37FFTWComplexConjugateToRealImageFilterIfLj2EED0Ev[itk::F
ComplexConjugateToRealImageFilter()]+0x29): undefined reference to
`fftwf_destroy_plan'
CMakeFiles/FilteringExamples6.dir/FilteringExamples6.o: In function
`itk::FFTWComplexConjugate
ealImageFilter()':
FilteringExamples6.cxx:
(.text._ZN3itk37FFTWComplexConjugateToRealImageFilterIfLj2EED1Ev[itk::F
ComplexConjugateToRealImageFilter()]+0x29): undefined reference to
`fftwf_destroy_plan'
CMakeFiles/FilteringExamples6.dir/FilteringExamples6.o: In function
`itk::FFTWRealToComplexCon
FilteringExamples6.cxx:
(.text._ZN3itk37FFTWRealToComplexConjugateImageFilterIfLj2EE12GenerateD
, 2u>::GenerateData()]+0x152): undefined reference to
`fftwf_plan_dft_r2c_2d'
FilteringExamples6.cxx:
(.text._ZN3itk37FFTWRealToComplexConjugateImageFilterIfLj2EE12GenerateD
, 2u>::GenerateData()]+0x18d): undefined reference to `fftwf_execute'
FilteringExamples6.cxx:
(.text._ZN3itk37FFTWRealToComplexConjugateImageFilterIfLj2EE12GenerateD
, 2u>::GenerateData()]+0x22d): undefined reference to `fftwf_destroy_plan'
CMakeFiles/FilteringExamples6.dir/FilteringExamples6.o: In function
`itk::FFTWComplexConjugate
FilteringExamples6.cxx:
(.text._ZN3itk37FFTWComplexConjugateToRealImageFilterIfLj2EE12GenerateD
, 2u>::GenerateData()]+0x136): undefined reference to
`fftwf_plan_dft_c2r_2d'
FilteringExamples6.cxx:
(.text._ZN3itk37FFTWComplexConjugateToRealImageFilterIfLj2EE12GenerateD
, 2u>::GenerateData()]+0x171): undefined reference to `fftwf_execute'
FilteringExamples6.cxx:
(.text._ZN3itk37FFTWComplexConjugateToRealImageFilterIfLj2EE12GenerateD
, 2u>::GenerateData()]+0x458): undefined reference to `fftwf_destroy_plan'
collect2: ld returned 1 exit status
make[2]: *** [bin/FilteringExamples6] Error 1
make[2]: Target `Examples/Filtering/CMakeFiles/FilteringExamples6.dir/build'
not remade becaus
make[1]: *** [Examples/Filtering/CMakeFiles/FilteringExamples6.dir/all]
Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20071005/5955ca47/attachment.html


More information about the Insight-users mailing list