problem with fftw (probaly easy to solve)

Claudio Bley bley@cs.uni-magdeburg.de
Thu Feb 21 10:28:00 GMT 2002


>>>>> "Olivier" == Olivier Ricordeau <olivier.ricordeau@wanadoo.fr> writes:

    Olivier> Hi all!  I'm making a little DSP program that uses the
    Olivier> FFTW librariy to do Fourier's transforms. I've made a
    Olivier> #include <rfftw.h> in my C source code and when I try to
    Olivier> compile here is what I get:

    Olivier> -----------------------------------------------------------------------

    Olivier> [olivier@localhost c]$ gcc -Wall -ansi -o wav2tab
[snip]
    Olivier> Could someone help me with this problem? It looks like
    Olivier> the answer is pretty simple but I don't have it :-)

You also need to link with the fftw library:

gcc -Wall -ansi -o wav2tab wav2tab.c -lfftw

Claudio



More information about the Gcc-help mailing list