fftw3-android
fftw3-android copied to clipboard
Not neeeded anymore as now FFTW compiles out of the box :)
@aguaviva cool! I have not used FFTW in ages. What has changes since it now compiles "out of the box"?
I will be checking in an Android project that plots a sprectrogram soon, there you can see the details, but pretty much it just worked.
Okay. I still do not understand what you mean that it just worked? This project simply just adds a bunch of Android Makefiles to the fftw3 source files and does not modify the fftw3 source in any way.
But please send a link to your code so I can check it out :)
In my Android Studio project I just had to add those 3 lines and all just compiles fine:
cmake_minimum_required(VERSION 3.4.1)
add_subdirectory(audio)
INCLUDE_DIRECTORIES(audio)
add_subdirectory(fftw-3.3.9) #<---------
INCLUDE_DIRECTORIES(fftw-3.3.9/api) #<---------
add_library(plasma SHARED plasma.cpp colormaps.cpp)
TARGET_LINK_LIBRARIES(plasma audio fftw3) #<---------
The next step is to use ExternalProject_Add to have cmake download the fft lib but I am having no luck though.
I hope this helps