hello,
i just realize that the pmpd makefile that is a copy of the template makefile, is labelled 1.0.14, but is not identical to the current template makefile 1.0.14
anyhow, with current template makefile, i add the NDK in the make option :
make NDK_BASE=/home/chnry/android-ndk-r9 CFLAGS=-I/home/chnry/pd/pd/src UNAME=ANDROID NDK_PROCESSOR=x86_64
and it's working.
I guess that adding NDK_PROCESSOR=$(shell uname -p) could cause trouble if you install a 32 bit NDK on a 64bit system.
so i think everything works.
cheers c
Le 15/09/2013 09:23, Antoine Villeret a écrit :
hi,
in version 1.0.14 (svn r17152) I have $(NDK_PROCESSOR) instead of x86 or x86_64 on my system (Ubuntu 12.04 64bit) this environment variable isn't set automatically with Anroid NDK r9 so I add NDK_PROCESSOR=$(shell uname -p) just before and i seems to work
I don't know if it only works on other platforms here is the patch
a
-- do it yourself http://antoine.villeret.free.fr
2013/9/12 Cyrille Henry <ch@chnry.net mailto:ch@chnry.net>
Hello, i'm currently working for android. when trying to compile pd extern for this platform, I face a small bug on the template makefile v1.0.14 it certainly work great for 32 bit, but on my 64 bit system, i have to change : NDK_TOOLCHAIN=$(wildcard $(NDK_BASE)/toolchains/$(NDK___ABI)*-$(NDK_COMPILER_VERSION)/__prebuilt/$(NDK_UNAME)-x86) to NDK_TOOLCHAIN=$(wildcard $(NDK_BASE)/toolchains/$(NDK___ABI)*-$(NDK_COMPILER_VERSION)/__prebuilt/$(NDK_UNAME)-x86_64) for now i don't have anything to test, but binary are created. cheers c _________________________________________________ Pd-list@iem.at <mailto:Pd-list@iem.at> mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/__listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list>