monkeyswarm / MobMuPlat

MobMuPlat is an iOS & Android app to host PureData patches with custom visual interfaces and hardware access.
www.mobmuplat.com
Other
185 stars 25 forks source link

adding 3rd party externals to MobMuPlat #15

Closed batchku closed 8 years ago

batchku commented 8 years ago

i'm working on a libpd based iOS app with MobMuPlat. i see that a few additional externals (like fiddle~ and bonk~) are included; i'm trying to compile another 3rd party external to include in libpd for my app but my pd patch is not finding the external.

could anyone point me to any instructions for how to go about doing that?

-ali

monkeyswarm commented 8 years ago

This is not feasible with the app as it currently exists, since iOS does not allow dynamic loading. You'll have to recompile MobMuPlat and 1) manually add the externals' code (.c files) to the project, and 2) load that external on app startup by calling its _setup() function (see MMPViewController line 205, I used to do this manually for the built-in externals, now it is done automatically in libpd).