Hi all
Tried to link fftw3 in cygwin, but keep on getting error messages such as:
fftw3_prb.o:fftw3_prb.c:(.text+0x121): undefined reference to `_fftw_malloc'
As an alternative, I just used an example from the web, here
http://people.sc.fsu.edu/~jburkardt/c_src/fftw3/fftw3_prb.c
compile is using
$ gcc -lfftw3 fft -o fftw3_prb
fft-lib.o fftw3_prb.o
... and link it using
$ gcc -lfftw3 fftw3_prb.o -o fftw3_prb
thereby getting these error messages:
fftw3_prb.o:fftw3_prb.c:(.text+0x1e4): undefined reference to `_fftw_malloc'
Anybody any idea?
fftw3 is installed out of the box using cygwin, and as far as I can tell, the header file is found during compilation, but something is missing during linking, though I use -lfftw3.
Any help is appreciated.
Thanks
Erich