On Jun 23, 2017, at 4:10 AM, pd-list-request@lists.iem.at wrote:

From: Alexandre Torres Porres <porres@gmail.com>
Subject: [PD] using bob~ with libpd for android
Date: June 23, 2017 at 2:33:21 AM GMT+2
To: "pd-list@lists.iem.at" <pd-list@lists.iem.at>

So, [bob~] is an extra, and you don't get it by default in libpd, so it seems.

I believe the Android build uses Android.mk and not the main Makefile. Looking inside, I see it’s building the included externals but I think it’s missing the LIBPD_EXTRA define which is used to tell libpd to automatically call the setup function for the externals ie. bob~, bonk~, choice, etc.

Is Android Studio building libpd via the Android.mk file? I haven’t done any Android development, so I’m not sure. If it is, you can try adding -DLIBPD_EXTRA to the end of line 38 in Android.mk and rebuilding.

Also, I’ve opened an issue on GitHub: https://github.com/libpd/libpd/issues/175

--------
Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com