Go back to my
FFTW 3.2.2 precompiled binaries for Win32 platform
The source codes of FFTW 3.2.2 package are available from http://fftw.org/download.html.
The precompiled binaries for Windows platform are also provided by the authors of FFTW package. Those libraries were compiled using MinGW.
Why do we provide our binaries? Because there is probably a bug in the MinGW-generated binaries. Imagine you want to perform the FFT over LARGE (you reach the limit of PC memory) blocks of memory. In this case, some memory leaks appear. Later, when you want to allocate new memory block of the same size your application fails due to the lack of memory.
- Check the size of available memory -> N
- Make FFTW plan.
- Call buffer = fftw_malloc(N)
- Make some FFTW compuations.
- Release buffer
- Release FFTW plan.
- Call fftw_cleanup
- Ask for a new buffer of size N -> bad alloc!
In order to avoid memory troubles we developed Solution for MS Visual Studio 9.0 that can be simply used for building the FFTW binaries using MS Visual Studio. We believe that now the memory management is correct. Since we have started compiling the FFTW in MS Visual Studio 9.0 the troubles with bad alloc have disappeared.
How to compile?
- Download the source codes from http://fftw.org/download.html
- Unzip the package.
- Download our solution with patch
- Unzip the patch and copy the content into the unzipped source codes.
- Open the solution file that is located in fftw-3.2.2/win32 directory.
- Build the library.
- Read the file fftw-3.2.2/win32/readme.txt
I am lazy, I want FFTW binaries without compiling them.
If you do not want to compile the binaries on your own, you can download the precompiled binaries we have already prepared. The FFTW library is available in 6 configurations: single, double, long double precision and each of them is built as in release as well as in debug mode. There is also a support for threads.
last modification: March 26, 2010
visitors from March 26, 2010: