Hi, I'm not a programmer, but I know enough to compile and troubleshoot a little.
I build the windows versions of Fluidsynth for the jOrgan project, using MinGW for the default Dsound version, and then Visual Studio for the WASAPI/WDMKS/ASIO backends. I started doing this back in 2014 with Fluidsynth 1.1.6, and have successfully compiled and tested releases up to Fluidsynth 1.1.11. I gave the Fluidsynth 2.0.0 beta 2 code a try, building with MinGW. That compiled correctly. I then swapping out the headers in the fluidsynthJNI folders and using my MinGW build of libfluidsynth attempted a build of the wrapper, which failed with the following messages: native-windows: [exec] ./src/main/native/fluidsynthJNI.c: In function 'Java_jorgan_fluidsyn th_Fluidsynth_setTuning': [exec] ./src/main/native/fluidsynthJNI.c:216:2: warning: implicit declarati on of function 'fluid_synth_create_octave_tuning' [-Wimplicit-function-declarati on] [exec] fluid_synth_create_octave_tuning(context->synth, jtuningBank, jtun ingProgram, (char*)name, derivations); [exec] ^ [exec] ./src/main/native/fluidsynthJNI.c: In function 'Java_jorgan_fluidsyn th_Fluidsynth_getAudioDrivers': [exec] ./src/main/native/fluidsynthJNI.c:255:65: warning: passing argument 4 of 'fluid_settings_foreach_option' from incompatible pointer type [-Wincompati ble-pointer-types] [exec] fluid_settings_foreach_option(settings, "audio.driver", &data, onO ption); [exec] ^ [exec] In file included from ./lib/include/fluidsynth.h:96:0, [exec] from ./src/main/native/fluidsynthJNI.c:7: [exec] ./lib/include/fluidsynth/settings.h:163:6: note: expected 'fluid_set tings_foreach_option_t {aka void (*)(void *, const char *, const char *)}' but a rgument is of type 'void (*)(void *, char *, char *)' [exec] void fluid_settings_foreach_option(fluid_settings_t *settings, [exec] ^ [exec] ./src/main/native/fluidsynthJNI.c: In function 'Java_jorgan_fluidsyn th_Fluidsynth_getAudioDevices': [exec] ./src/main/native/fluidsynthJNI.c:277:54: warning: passing argument 4 of 'fluid_settings_foreach_option' from incompatible pointer type [-Wincompati ble-pointer-types] [exec] fluid_settings_foreach_option(settings, key, &data, onOption); [exec] ^ [exec] In file included from ./lib/include/fluidsynth.h:96:0, [exec] from ./src/main/native/fluidsynthJNI.c:7: [exec] ./lib/include/fluidsynth/settings.h:163:6: note: expected 'fluid_set tings_foreach_option_t {aka void (*)(void *, const char *, const char *)}' but a rgument is of type 'void (*)(void *, char *, char *)' [exec] void fluid_settings_foreach_option(fluid_settings_t *settings, [exec] ^ [exec] C:\Users\User\AppData\Local\Temp\ccWUbCDX.o:fluidsynthJNI.c:(.text+0 xb28): undefined reference to `fluid_synth_create_octave_tuning' [exec] collect2.exe: error: ld returned 1 exit status Any ideas? GrahamG _______________________________________________ fluid-dev mailing list fluid-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/fluid-dev