问题如下:
2> Creating C:/bin/fftw37/Release/fftw3.lib and obj C:/bin/fftw37/Release/fftw3.exp
2>conf.c.obj : error LNK2019: unresolved _fftw_solvtab_dft_standard,symbols _fftw_dft_conf_standard2>conf.c.obj : error LNK2019: unresolved _fftw_solvtab_rdft_r2cf,symbols _fftw_rdft_conf_standard 2>conf.c.obj : error LNK2019: unresolved _fftw_solvtab_rdft_r2cb,symbols _fftw_rdft_conf_standard
2>conf.c.obj : error LNK2019: unresolved _fftw_solvtab_rdft_r2r,symbols _fftw_rdft_conf_standard
2>C:\bin\fftw37\Release\fftw3.dll : fatal error LNK1120: 4 Unresolved external symbols
解决办法:
注释掉rdft/conf.c
void X(rdft_conf_standard)(planner *p)
{
X(solvtab_exec)(s, p);
// X(solvtab_exec)(X(solvtab_rdft_r2cf), p);
// X(solvtab_exec)(X(solvtab_rdft_r2cb), p);
// X(solvtab_exec)(X(solvtab_rdft_r2r), p);
注释掉dft/conf.c
void X(dft_conf_standard)(planner *p)
{
X(solvtab_exec)(s, p);
// X(solvtab_exec)(X(solvtab_dft_standard), p);