Compilation Error on VC++ when using trying to use the FFTW lib
Mantis Issue 215, reported by pimbo, assigned to msavinaud, created: 2010-12-06
Pre-installation : FFTW using OSgeoW package (FFTW-3.2.1).
Activate the "Use_FFTWF" and apply the right path to the FFTW_INCULDE_PATH and FFTW_LIB variable.
Build in Release or Debug mode, link errors appears when compiling OTB on VC9 and VC10.
The output message:
error LNK2019: symbole externe non résolu _fftwf_destroy_plan référencé dans la fonction "protected: virtual __thiscall itk::FFTWComplexToComplexImageFilter<float,2>::~FFTWComplexToComplexImageFilter<float,2>(void)" (??1?$FFTWComplexToComplexImageFilter@M$01@itk@@MAE@XZ) 0000169-fftcomplextocomplex.obj error LNK2019: symbole externe non résolu _fftwf_execute référencé dans la fonction "protected: virtual void __thiscall itk::FFTWComplexToComplexImageFilter<float,2>::GenerateData(void)" (?GenerateData@?$FFTWComplexToComplexImageFilter@M$01@itk@@MAEXXZ) 0000169-fftcomplextocomplex.obj error LNK2019: symbole externe non résolu _fftwf_plan_dft_2d référencé dans la fonction "protected: virtual void __thiscall itk::FFTWComplexToComplexImageFilter<float,2>::GenerateData(void)" (?GenerateData@?$FFTWComplexToComplexImageFilter@M$01@itk@@MAEXXZ) 0000169-fftcomplextocomplex.obj fatal error LNK1120: 3 externes non résolus D:\local\build\otb-hg\bin\Release\0000169-fftcomplextocomplex.exe
1313594805 - C ValladeauOn current OTB version, VC10.
1401181487 - mickaelneed to be tested with last version of OTB
1447151900 - julienOTB builds fine with OSGEO4W fftw now (and also with superbuild on windows).