Skip to content

Repository for compiling the newest version of fftw3 on Android

Notifications You must be signed in to change notification settings

wchy1128/fftw3-android

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fftw3 for Android


Build Status

Repository for compiling fftw3 on Android. Based on the following project: https://github.com/sfomra/FFTW3_MOD-for-Android.

The library can then be included as a static library in another project. An example Android.mk can be seen below:

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)
LOCAL_MODULE := fftw3
LOCAL_SRC_FILES := $(LOCAL_PATH)/fftw3/lib/$(TARGET_ARCH_ABI)/libfftw3.a
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/fftw3/include
include $(PREBUILT_STATIC_LIBRARY)

include $(CLEAR_VARS)
LOCAL_MODULE := foo
LOCAL_SRC_FILES := foo.c
LOCAL_CFLAGS := -std=c99
LOCAL_LDLIBS := -llog -lm
LOCAL_STATIC_LIBRARIES := fftw3
include $(BUILD_SHARED_LIBRARY)

Where the include directory $(LOCAL_PATH)/fftw3/include simply contains fftw3.h and $(LOCAL_PATH)/fftw3/lib contains the static libraries for each architecture (x86_64, armeabi, armeabi-v7a etc) compiled using this project.

For more information send me an email at [email protected].

About

Repository for compiling the newest version of fftw3 on Android

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 91.9%
  • Makefile 6.3%
  • Other 1.8%