FastNFT / FNFT

Fast numerical computation of (inverse) nonlinear Fourier transforms
https://fastnft.github.io/FNFT/
GNU General Public License v2.0
42 stars 12 forks source link

FFTW problem #67

Closed esf0 closed 3 years ago

esf0 commented 3 years ago

I am writing to share a solution to one problem. If you have the following error during compilation:

usr/bin/ld: /usr/local/lib/libfftw3.a(assert.o): relocation R_X86_64_PC32 against symbol `stdout@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC

when you compile with the -DENABLE_FFTW=ON flag, then you have to rebuild the FFTW library with the --enable-shared flag. And then rebuild FNFT library.

wahls commented 3 years ago

Thanks for reporting.