-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
failing to run some externals #67
Comments
Hey @porres , can you maybe provide an example project using this external? It would make it easier to try and debug the problem. |
hi, gbman~ is a chaotic signal generator so you can have something as simple as [gbman~] |
@porres Please provide a link to an Android project. Preferably one that depends on JCenter's pd-for-android library artifact. |
Seams to be related to libpd/libpd#130. You may need the LOCALE option in your compilation ... something messing with float parsing .... see https://github.com/libpd/libpd#known-issues Note : You can quickly confirm this is related by replacing *~ 0.3 by *~ 1 or replacing gbman~ by a noise~ in your patch. |
Hi @joebowbeer, We put the gbman~.c file in the jni folder and modified the Android.mk like so:
As @porres mentioned, this worked fine for some externals (like cyclone's pink~), but didn't work for others... thanks for the help. |
Assuming this is due to not setting numeric LOCALE, Android needs to sync with recent commit? |
@joebowbeer no needs to sync for now :
@porres @esantossilva could you add locale option in your make file ? : |
@mgsx-dev still the same. I tried modifying the Android.mk file and then I tried the Makefile for libpd and it remains the same. |
howdy, I've been testing libpd for android and some externals. I've managed to use pd's extra objects as well as a few objects from cyclone and also from another library of my own.
But the thing is that some externals will fail, and they're pretty simple so I can't see any reason why they fail, here's one I couldn't run, for instance: https://github.com/porres/pd-else/blob/master/classes/gbman~.c
What should I know or be careful about building external objects for android?
how can I get more information about my problem?
the object does compile and create and everything, I just do not hear any sound!
cheers
The text was updated successfully, but these errors were encountered: