This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problem with fftw (probaly easy to solve)


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]