Open joebowbeer opened 2 years ago
Actually #2 already fixes this... But it's 4 years old ;-)
opensl_stream.c
. I tested it by using code from #2 when building pd-for-android
(see @tkirshboim\pd-for-android ). The errors related to clock_gettime
and usleep
are no longer there. Unfortunately other compile errors are present, however these seem more related to pure data source code, than libpd:libpd/pure-data/src/x_file.c:909: error: undefined reference to 'glob'
libpd/pure-data/src/x_file.c:940: error: undefined reference to 'globfree'
@tkirshboim were you able to resolve these 'glob' errors?
@BorisMolch Yes, this issue was recently solved by raising the minimum API level. See this comment.
pd-for-android compilation errors:
https://github.com/libpd/libpd/pull/357#issuecomment-1132106623
See two fixes to opensl_stream.c below