--Directions for getting FFTW libraries on a Windows machine-- -- Marc Liberatore, CS Dept. UMass Amherst -- Note: These are specifically written for CodeBlocks and Visual Studio Get CodeBlocks: http://www.codeblocks.org/downloads/binaries Get the 32 bit FFTW library: http://www.fftw.org/install/windows.html Get Microsoft Visual Studio Extract the library into a folder named fftw, inside the Codeblocks folder. In my case, the path is: c:\\Program Files(x86)\CodeBlocks\fftw Open the folder containing Visual Studio, then VC, and look for the lib folder. In my case, it is \Program Files(x86)\Microsoft Visual Studio 10.0\VC\bin Copy this path. Open the command line (Start Menu -> type cmd in the search box). Paste the path, and enclose it in quotation marks. Then add "vcvars32.bat" (or something like that) inside the parentheses. Hit enter. This adds the right path to this instance of cmd's PATH to run the lib.exe in the next step. Still in the command window, type cd "\Program Files(x86)\CodeBlocks\fftw" and hit enter. Back at the fftw website, copy the three lines grouped together that begin with lib and paste into the command window. Hit enter. To add the dll's to the path: Open your control panel->system->advanced system settings-> environment variables(this is a button)->system variables (the lower part of the box)->path and hit Edit. Under variable value, there's a long string separated by semicolons. On the end of that string, type a semicolon ; then paste in the path to the fftw folder. In my case, I added ;C:\\Program Files(x86)\CodeBlocks\fftw Back in CodeBlocks, you have 2 choices: 1. To link fftw to just the project you're working on: go to Project->Build Options-> then click whatever your project name is 2. To link to globally: Settings->Compiler&Debugger For either way after the above steps, go to Linker Settings->Add(this is a dialog box) and add the 3 .lib files from the fftw folder that you made with Visual Studio Now you should have 3 lines in "Link libraries". Next, in the search directories tab->compiler tab->add (opens dialog box) add the fftw folder. Back to the search directories tab->linker tab->add(opens dialog box) add the fftw folder. Congratulations, you can now compile and run programs involving FFTW!