kylemcdonald / ofxFft

FFT addon for openFrameworks that wrapps FFTW and KissFFT.
141 stars 46 forks source link

Code::Blocks project files for Windows users #8

Closed brunoimbrizi closed 10 years ago

brunoimbrizi commented 10 years ago

It was a bit confusing to get started with ofxFft on Windows, so I thought it would be helpful to add Code::Blocks project files to the examples.

The readme was suggesting to add of/libs/fftw/include/ but I believe the correct path is of/addons/ofxFft/libs/fftw/include. Same for the path to the .dll file.

In the .cbp files I add this line: <Add after='xcopy /e /i /y &quot;$(PROJECT_DIR)..\libs\fftw\lib\win32\libfftw3f-3.dll&quot; &quot;$(PROJECT_DIR)bin&quot;' /> Which copies the .dll to the bin folder automatically.`

If the .dll is not in the bin folder, Windows users get this message: "The program can't start because libfftw3f-3.dll is missing from your computer. Try reinstalling the program to fix this problem."

kylemcdonald commented 10 years ago

thanks! i'll trust that this works :)