We have a missing if() in our CMakeLists :
http://hg.orfeo-toolbox.org/OTB/file/b67d0bd93e34/Testing/Fa/CMakeLists.txt#l26

This line should be protected to not be activated when FFTW is not active.
BUILD_TESTING=ON + FFTW=OFF currently does not work.
I consider this a minor build issue though.

Your issues with FFTW might also comes form the fact you are building
everything statically. Can't you use shared lib ? At least for FFTW ?
For sure using gcc < 4.2 does not help at all, to build a software
released in 2014.

Julien


On 03/14/2014 10:58 AM, [email protected] wrote:
> Hi,
> I tried to build with OTB_USE_SIFTFAST to false.
>
> and got this:
>
> Linking CXX executable ../../bin/0000094-PolygonsVectorization
> [ 93%] Built target 0000094-PolygonsVectorization
> Scanning dependencies of target 0000169-fftcomplextocomplex
> [ 93%] Building CXX object
> Testing/Fa/CMakeFiles/0000169-fftcomplextocomplex.dir/0000169-fftcomplextocomplex.cxx.o
> /home/lwasquel/OTB/OTB_code_source/OTB/Code/UtilitiesAdapters/ITKPendingPatches/itkFFTWComplexToComplexImageFilter.hxx:
> In member function âvoid
> itk::FFTWComplexToComplexImageFilter<TImage>::BeforeThreadedGenerateData()
> [with TImage = otb::Image<std::complex<float>, 2u>]â:
> /home/lwasquel/OTB/OTB_code_source/OTB/Testing/Fa/0000169-fftcomplextocomplex.cxx:31:
>   
> instantiated from here
> /home/lwasquel/OTB/OTB_code_source/OTB/Code/UtilitiesAdapters/ITKPendingPatches/itkFFTWComplexToComplexImageFilter.hxx:89:
> error: no type named âPlanTypeâ in âclass itk::fftw::Proxy<float>â
> /home/lwasquel/OTB/OTB_code_source/OTB/Code/UtilitiesAdapters/ITKPendingPatches/itkFFTWComplexToComplexImageFilter.hxx:90:
> error: no type named âComplexTypeâ in âclass itk::fftw::Proxy<float>â
> /home/lwasquel/OTB/OTB_code_source/OTB/Code/UtilitiesAdapters/ITKPendingPatches/itkFFTWComplexToComplexImageFilter.hxx:91:
> error: no type named âComplexTypeâ in âclass itk::fftw::Proxy<float>â
> /home/lwasquel/OTB/OTB_code_source/OTB/Code/UtilitiesAdapters/ITKPendingPatches/itkFFTWComplexToComplexImageFilter.hxx:107:
> error: âPlan_dftâ is not a member of âitk::fftw::Proxy<float>â
> /home/lwasquel/OTB/OTB_code_source/OTB/Code/UtilitiesAdapters/ITKPendingPatches/itkFFTWComplexToComplexImageFilter.hxx:90:
> error: no type named âComplexTypeâ in âclass itk::fftw::Proxy<float>â
> /home/lwasquel/OTB/OTB_code_source/OTB/Code/UtilitiesAdapters/ITKPendingPatches/itkFFTWComplexToComplexImageFilter.hxx:91:
> error: no type named âComplexTypeâ in âclass itk::fftw::Proxy<float>â
> /home/lwasquel/OTB/OTB_code_source/OTB/Code/UtilitiesAdapters/ITKPendingPatches/itkFFTWComplexToComplexImageFilter.hxx:89:
> error: no type named âPlanTypeâ in âclass itk::fftw::Proxy<float>â
> /home/lwasquel/OTB/OTB_code_source/OTB/Code/UtilitiesAdapters/ITKPendingPatches/itkFFTWComplexToComplexImageFilter.hxx:115:
> error: âExecuteâ is not a member of âitk::fftw::Proxy<float>â
> /home/lwasquel/OTB/OTB_code_source/OTB/Code/UtilitiesAdapters/ITKPendingPatches/itkFFTWComplexToComplexImageFilter.hxx:89:
> error: no type named âPlanTypeâ in âclass itk::fftw::Proxy<float>â
> /home/lwasquel/OTB/OTB_code_source/OTB/Code/UtilitiesAdapters/ITKPendingPatches/itkFFTWComplexToComplexImageFilter.hxx:116:
> error: âDestroyPlanâ is not a member of âitk::fftw::Proxy<float>â
> /home/lwasquel/OTB/OTB_code_source/OTB/Code/UtilitiesAdapters/ITKPendingPatches/itkFFTWComplexToComplexImageFilter.hxx:89:
> error: no type named âPlanTypeâ in âclass itk::fftw::Proxy<float>â
> make[2]: ***
> [Testing/Fa/CMakeFiles/0000169-fftcomplextocomplex.dir/0000169-fftcomplextocomplex.cxx.o]
> Error 1
> make[1]: ***
> [Testing/Fa/CMakeFiles/0000169-fftcomplextocomplex.dir/all] Error 2
> make: *** [all] Error 2
>
> so it seems that using OTB_USE_SIFTFAST =OFF enables me to go further.
> Are all these problems linked to the use of FFTW? Should I try not
> using FFTW?
>
> Regards,
> Loïc
>
> -- 
> -- 
> Check the OTB FAQ at
> http://www.orfeo-toolbox.org/FAQ.html
>  
> You received this message because you are subscribed to the Google
> Groups "otb-users" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/otb-users?hl=en
> ---
> You received this message because you are subscribed to the Google
> Groups "otb-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected]
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to