This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: problem with fftw (probaly easy to solve)
- From: "Claudio Bley" <bley at cs dot uni-magdeburg dot de>
- To: Olivier Ricordeau <olivier dot ricordeau at wanadoo dot fr>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Thu, 21 Feb 2002 19:15:46 +0100
- Subject: Re: problem with fftw (probaly easy to solve)
- References: <3C74FD75.3070303@wanadoo.fr>
>>>>> "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