Currently there are two shared libraries to build: libfluidsynth.so and liboboe-c.so.
The latter was introduced, not for need for C API (we can just build C++ code if we enable CXX in top-level CMakeLists.txt), but rather to separate standard C++ implementation for glib (gnustl) and Oboe (libc++).
[armeabi-v7a] SharedLibrary : libfluidsynth.so
/sources/fluidsynth-midi-service-j/external/fluidsynth/src/utils/fluid_sys.c:0: error: undefined reference to 'stderr'
/sources/fluidsynth-midi-service-j/external/fluidsynth/src/utils/fluid_sys.c:0: error: undefined reference to 'in6addr_any'
/sources/fluidsynth-midi-service-j/external/fluidsynth/src/midi/fluid_midi_router.c:0: error: undefined reference to 'stdout'
/sources/fluidsynth-midi-service-j/external/fluidsynth/src/midi/fluid_midi_router.c:0: error: undefined reference to 'stdout'
/sources/fluidsynth-midi-service-j/external/fluidsynth/src/midi/fluid_midi_router.c:0: error: undefined reference to 'stdout'
/sources/fluidsynth-midi-service-j/external/fluidsynth/src/midi/fluid_midi_router.c:0: error: undefined reference to 'stdout'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
Currently there are two shared libraries to build:
libfluidsynth.so
andliboboe-c.so
.The latter was introduced, not for need for C API (we can just build C++ code if we enable CXX in top-level CMakeLists.txt), but rather to separate standard C++ implementation for glib (gnustl) and Oboe (libc++).
But gnustl should be eliminated.