Hi, I met the following error when I execute the command 'make'. My fftw's version is 3.3.3-8.el7. Please help me.
g++ -O2 -ffast-math -std=c++11 -Wall -Wno-unused-local-typedefs -I. -I./include -DNDEBUG -msse2 -fPIC -c source/BM3D_Base.cpp -o source/BM3D_Base.o In file included from ./include/BM3D.h:30:0, from ./include/BM3D_Base.h:31, from source/BM3D_Base.cpp:25: ./include/fftw3_helper.hpp: In member function 'char* fftwh<R>::plan::sprint_plan() const': ./include/fftw3_helper.hpp:400:20: error: '::fftw_sprint_plan' has not been declared return ::fftw_sprint_plan(p); ^ ./include/fftw3_helper.hpp: In static member function 'static int fftwh<R>::alignment_of(_Ty*)': ./include/fftw3_helper.hpp:529:16: error: '::fftw_alignment_of' has not been declared return ::fftw_alignment_of(reinterpret_cast<R *>(p)); ^ ./include/fftw3_helper.hpp: In member function 'char* fftwh<float>::plan::sprint_plan() const': ./include/fftw3_helper.hpp:905:20: error: '::fftwf_sprint_plan' has not been declared return ::fftwf_sprint_plan(p); ^ ./include/fftw3_helper.hpp: In static member function 'static int fftwh<float>::alignment_of(_Ty*)': ./include/fftw3_helper.hpp:1034:16: error: '::fftwf_alignment_of' has not been declared return ::fftwf_alignment_of(reinterpret_cast<R *>(p)); ^ ./include/fftw3_helper.hpp: In member function 'char* fftwh<long double>::plan::sprint_plan() const': ./include/fftw3_helper.hpp:1410:20: error: '::fftwl_sprint_plan' has not been declared return ::fftwl_sprint_plan(p); ^ ./include/fftw3_helper.hpp: In static member function 'static int fftwh<long double>::alignment_of(_Ty*)': ./include/fftw3_helper.hpp:1539:16: error: '::fftwl_alignment_of' has not been declared return ::fftwl_alignment_of(reinterpret_cast<R *>(p)); ^ make: *** [source/BM3D_Base.o] Error 1
Hi, I met the following error when I execute the command 'make'. My fftw's version is 3.3.3-8.el7. Please help me.
g++ -O2 -ffast-math -std=c++11 -Wall -Wno-unused-local-typedefs -I. -I./include -DNDEBUG -msse2 -fPIC -c source/BM3D_Base.cpp -o source/BM3D_Base.o In file included from ./include/BM3D.h:30:0, from ./include/BM3D_Base.h:31, from source/BM3D_Base.cpp:25: ./include/fftw3_helper.hpp: In member function 'char* fftwh<R>::plan::sprint_plan() const': ./include/fftw3_helper.hpp:400:20: error: '::fftw_sprint_plan' has not been declared return ::fftw_sprint_plan(p); ^ ./include/fftw3_helper.hpp: In static member function 'static int fftwh<R>::alignment_of(_Ty*)': ./include/fftw3_helper.hpp:529:16: error: '::fftw_alignment_of' has not been declared return ::fftw_alignment_of(reinterpret_cast<R *>(p)); ^ ./include/fftw3_helper.hpp: In member function 'char* fftwh<float>::plan::sprint_plan() const': ./include/fftw3_helper.hpp:905:20: error: '::fftwf_sprint_plan' has not been declared return ::fftwf_sprint_plan(p); ^ ./include/fftw3_helper.hpp: In static member function 'static int fftwh<float>::alignment_of(_Ty*)': ./include/fftw3_helper.hpp:1034:16: error: '::fftwf_alignment_of' has not been declared return ::fftwf_alignment_of(reinterpret_cast<R *>(p)); ^ ./include/fftw3_helper.hpp: In member function 'char* fftwh<long double>::plan::sprint_plan() const': ./include/fftw3_helper.hpp:1410:20: error: '::fftwl_sprint_plan' has not been declared return ::fftwl_sprint_plan(p); ^ ./include/fftw3_helper.hpp: In static member function 'static int fftwh<long double>::alignment_of(_Ty*)': ./include/fftw3_helper.hpp:1539:16: error: '::fftwl_alignment_of' has not been declared return ::fftwl_alignment_of(reinterpret_cast<R *>(p)); ^ make: *** [source/BM3D_Base.o] Error 1