[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [fluid-dev] Fluidsynth for Android x86
From: |
Tom M. |
Subject: |
Re: [fluid-dev] Fluidsynth for Android x86 |
Date: |
Sat, 16 Feb 2019 18:18:14 +0100 |
Please make sure to reply to the mailing list, rather than to me privately.
> > What exactly to you mean by "complicated dependencies"?
> There's glib, sdl2, etc. Those give me a lot of errors
fluidsynth 1.1.9 also requires glib. SDL2 is an optional requirement of
fluidsynth's most recent development version, which hasn't even been released
yet. As with every optional requirement, you can disable it by passing
-Denable-sdl2=0 to cmake.
> > Did you follow instructions on how to add native code to a project? E.g.:
> I got it working for fluidsynth 1.1.9 thanks to Degill
> repository<https://github.com/degill/fluidsynth-android-opensles>.
This is a crippled version of fluidsynth, which is hard-coded to report as
1.1.9.
> I don't understand what the "build for android" in the wiki is intended for.
> I use the source directly in my Android Studio project, not the compiled
> build.
It demonstrates how to use cmake to cross compile an upstream version of
fluidsynth for Android. Due to lacking contributions and my lacking knowledge,
information on how to integrate this into an IDE like Android Studio are
currently missing. But I'd guess all you need to do is placing the .so files
into your project structure depening on the target architecture they've been
built for.
Tom