FFTW / fftw3

DO NOT CHECK OUT THESE FILES FROM GITHUB UNLESS YOU KNOW WHAT YOU ARE DOING. (See below.)
GNU General Public License v2.0
2.72k stars 661 forks source link

Compilation Error in QT Project Arm64 #308

Closed stefanusayudha closed 1 year ago

stefanusayudha commented 1 year ago

Device Specification : Macbook Pro M1 OS : ventura 13.1 FFTW Version : 3.3.10 QT Version : Qt Creator 9.0.1 Errors :

Undefined symbols for architecture arm64:
  "_fftw_destroy_plan", referenced from:
      fft_analyze(signal) in mainwindow.o
  "_fftw_execute", referenced from:
      fft_analyze(signal) in mainwindow.o
  "_fftw_free", referenced from:
      fft_analyze(signal) in mainwindow.o
  "_fftw_malloc", referenced from:
      fft_analyze(signal) in mainwindow.o
  "_fftw_plan_dft_1d", referenced from:
      fft_analyze(signal) in mainwindow.o

is there any configuration that i have to apply?

stefanusayudha commented 1 year ago

@matteo-frigo so what is the solution?

matteo-frigo commented 1 year ago

I have no idea. You are compiling who knows what program that is looking for fftw who knows where (or not). mainwindow.o is not part of the fftw distribution.

Baiyuetribe commented 1 year ago

same issue with M2

image