Compiling the NFFT library for 64-bit Windows and Matlab. (Updated November 2013)

Update (Feb 2014) : If you don’t want to go through the steps below, why not try these pre-compiled binaries. Just unzip them to somewhere inside your MATLAB path. (These binaries are compiled with the header files from MATLAB 2013a, so your results may vary if you use a different MATLAB version).

A few people commented recently that they were unable to compile the NFFT library for 64-bit Windows and Matlab, following my previous instructions. It has been a while since I’ve actually used these libraries on windows, so I wanted to see if my instructions were still valid. Here are the results of my attempts, with the latest versions I could find. Continue reading Compiling the NFFT library for 64-bit Windows and Matlab. (Updated November 2013)

Compiling the NFFT library for 64-bit Windows and Matlab.

So I use the NFFT library for work on a 64 bit Ubuntu Linux machine, where it is relatively easy to compile and set up.  All the dependencies are in the linux repositories, and compiling is simple and straightforward.  However I wanted to be able to run my matlab code and test scripts on my home machine, running Windows 7 64 bit without dual booting OSes or running a painfully slow VM.

It was a bit of a pain, but I finally succeeded in getting some working binaries up and running.  Maybe this will save someone else some time and pain. Continue reading Compiling the NFFT library for 64-bit Windows and Matlab.