amuhaimin02 / fluidsynth_ffi

FluidSynth binding for Flutter
Other
0 stars 0 forks source link

help #1

Open Irving-Xu opened 3 days ago

Irving-Xu commented 3 days ago

Hello, can you upload so library

amuhaimin02 commented 2 days ago

Hi.

Might be a bit large to commit every .so files on the repo here, but I can point the directions. You can get the whole Fluidsynth binary from here. https://github.com/FluidSynth/fluidsynth/releases

Assuming you're working for android, download the latest android zip and extract it to android/src/main/jniLibs folder (create if doesn't exists) on your project.

When running on devices you might get errors of missing libraries "libomp.so" and "libc++_shared.so", if that's the case you can search for the files somewhere from Android NDK stored in your machine, or you can check my latest commit. Include these missing libraries in jniLibs as well.

Irving-Xu commented 2 days ago

@amuhaimin02 Thank you for your reply. I'd like to use it on iOS, but I haven't found any libraries available for iOS at https://github.com/FluidSynth/fluidsynth/releases. Did you compile it by yourself?

amuhaimin02 commented 1 day ago

Unfortunately I haven't tried with iOS yet, but you may want to refer to FluidSynth's Building with CMake, especially the Compiling with OS X part, and see if the generated binary framework works on iOS