hi3519 移植 fftw3

下载源码

www.fftw.org/download.html

解压文件后:

chmod +x bootstrap.sh
./bootstrap.sh  
./configure --prefix=/home/rogan/Downloads/fftw-3.3.10_new/fftw-3.3.10/install --enable-single --disable-fortran --enable-shared=yes --enable-neon  CXX=arm-himix200-linux-g++ CC=arm-himix200-linux-gcc CFLAGS="-mcpu=cortex-a53 -mfloat-abi=softfp -mfpu=neon-vfpv4 -fPIC" --host=arm-linux LIBS="-lm"
make  
make install  

然后将安装路径里lib的动态库移植到开发板上,注意:若使用单精度(single),则使用的是libfftw3f.so.3此动态库,也需要将程序中的所有以小写fftw_开头的函数替换为fftwf_,否则会报错。(注:开启arm neon必须是单精度)

你可能感兴趣的:(arm开发)