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 "$(PROJECT_DIR)..\libs\fftw\lib\win32\libfftw3f-3.dll" "$(PROJECT_DIR)bin"' />
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."
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 isof/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 "$(PROJECT_DIR)..\libs\fftw\lib\win32\libfftw3f-3.dll" "$(PROJECT_DIR)bin"' />
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."