The FFTW, version 3, with its development files (fftw3.h
) must be
installed on your platform. For example, on Debian or Ubuntu, you
need to install the package libfftw3-dev
.
./bootstrap (optional, requires autoconf)
./configure
make
If your fftw3 header files or libraries are not where you C compiler
expects to find them, you need to tell configure by using the
following syntax:
CPPFLAGS="-I/opt/local/include" LDFLAGS="-L/opt/local/lib" ./configure
Of course, replace /opt/local/include
(resp. /opt/local/lib
) by the
actual paths of your header files (resp. library).
Fftw3 contains two submodules differing only by precision Fftw3.D
for
double precision and Fftw3.S
for single precision. Note that the
functions of the single precision module will raise Failure
if the
corresponding FFTW3 library was not discovered by the configure
script. See the mli file for more details.
Some examples need additional libraries:
- Lacaml
- Archimedes
If these are not detected by the configure script, the corresponding
examples will not be compiled or will have less features.
To report bugs, use the Github
issues page.
If you want to participate to the development of Fftw3, make a
fork of the project and
submit a pull request.
FFtw3 is released under the LGPL with the special exception of the
standard library. See the file LICENSE for more details.
Although not required, it will be appreciated if your product mentions
it uses these bindings.