Hi all,<br><br>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?
<br><br>Regards<br>Ruben<br><br><br>[ 81%] Building CXX object Examples/Filtering/CMakeFiles/FilteringExamples6.dir/FilteringExamp<br>Linking CXX executable ../../bin/FilteringExamples6<br>CMakeFiles/FilteringExamples6.dir/FilteringExamples6.o: In function `itk::FFTWRealToComplexCon
<br>ateImageFilter()&#39;:<br>FilteringExamples6.cxx:(.text._ZN3itk37FFTWRealToComplexConjugateImageFilterIfLj2EED0Ev[itk::F<br>RealToComplexConjugateImageFilter()]+0x29): undefined reference to `fftwf_destroy_plan&#39;<br>
CMakeFiles/FilteringExamples6.dir/FilteringExamples6.o: In function `itk::FFTWRealToComplexCon<br>ateImageFilter()&#39;:<br>FilteringExamples6.cxx:(.text._ZN3itk37FFTWRealToComplexConjugateImageFilterIfLj2EED1Ev[itk::F<br>
RealToComplexConjugateImageFilter()]+0x29): undefined reference to `fftwf_destroy_plan&#39;<br>CMakeFiles/FilteringExamples6.dir/FilteringExamples6.o: In function `itk::FFTWComplexConjugate<br>ealImageFilter()&#39;:<br>FilteringExamples6.cxx:
(.text._ZN3itk37FFTWComplexConjugateToRealImageFilterIfLj2EED0Ev[itk::F<br>ComplexConjugateToRealImageFilter()]+0x29): undefined reference to `fftwf_destroy_plan&#39;<br>CMakeFiles/FilteringExamples6.dir/FilteringExamples6.o: In function `itk::FFTWComplexConjugate
<br>ealImageFilter()&#39;:<br>FilteringExamples6.cxx:(.text._ZN3itk37FFTWComplexConjugateToRealImageFilterIfLj2EED1Ev[itk::F<br>ComplexConjugateToRealImageFilter()]+0x29): undefined reference to `fftwf_destroy_plan&#39;<br>
CMakeFiles/FilteringExamples6.dir/FilteringExamples6.o: In function `itk::FFTWRealToComplexCon<br>FilteringExamples6.cxx:(.text._ZN3itk37FFTWRealToComplexConjugateImageFilterIfLj2EE12GenerateD<br>, 2u&gt;::GenerateData()]+0x152): undefined reference to `fftwf_plan_dft_r2c_2d&#39;
<br>FilteringExamples6.cxx:(.text._ZN3itk37FFTWRealToComplexConjugateImageFilterIfLj2EE12GenerateD<br>, 2u&gt;::GenerateData()]+0x18d): undefined reference to `fftwf_execute&#39;<br>FilteringExamples6.cxx:(.text._ZN3itk37FFTWRealToComplexConjugateImageFilterIfLj2EE12GenerateD
<br>, 2u&gt;::GenerateData()]+0x22d): undefined reference to `fftwf_destroy_plan&#39;<br>CMakeFiles/FilteringExamples6.dir/FilteringExamples6.o: In function `itk::FFTWComplexConjugate<br>FilteringExamples6.cxx:(.text._ZN3itk37FFTWComplexConjugateToRealImageFilterIfLj2EE12GenerateD
<br>, 2u&gt;::GenerateData()]+0x136): undefined reference to `fftwf_plan_dft_c2r_2d&#39;<br>FilteringExamples6.cxx:(.text._ZN3itk37FFTWComplexConjugateToRealImageFilterIfLj2EE12GenerateD<br>, 2u&gt;::GenerateData()]+0x171): undefined reference to `fftwf_execute&#39;
<br>FilteringExamples6.cxx:(.text._ZN3itk37FFTWComplexConjugateToRealImageFilterIfLj2EE12GenerateD<br>, 2u&gt;::GenerateData()]+0x458): undefined reference to `fftwf_destroy_plan&#39;<br>collect2: ld returned 1 exit status
<br>make[2]: *** [bin/FilteringExamples6] Error 1<br>make[2]: Target `Examples/Filtering/CMakeFiles/FilteringExamples6.dir/build&#39; not remade becaus<br>make[1]: *** [Examples/Filtering/CMakeFiles/FilteringExamples6.dir/all] Error 2
<br><br>