Has anybody been to compile FFTW either dynamically or statically and use it along with Visual Studio 2008 compiler using a 64 bit build? The below program has errors #include "stdafx.h" #include <iostream> #include "fftw3.h" #pragma comment(lib,"libfftw.lib"); //#include <complex.h> using namespace std; #define N 100 int _tmain(int argc, _TCHAR* argv[]) { fftw_complex *in,*out; fftw_plan p; in=(fftw_complex*) fftw_malloc(sizeof(fftw_complex)*N); out=(fftw_complex*) fftw_malloc(sizeof(fftw_complex)*N); p=fftw_plan_dft_1d(N,in,out,FFTW_FORWARD,FFTW_ESTIMATE); fftw_execute(p); } Error 83 error LNK2019: unresolved external symbol _mm_malloc referenced in function bench_malloc util.obj bench Error 84 error LNK2019: unresolved external symbol _mm_free referenced in function bench_free util.obj bench Error 85 error LNK2019: unresolved external symbol isnan referenced in function aerror verify-lib.obj bench Error 86 error LNK2001: unresolved external symbol isnan verify- r2r.obj bench
Using FFTW on 64 bit computer Visual Studio 2008
Started by ●June 18, 2009