jpcima / ADLplug

FM Chip Synthesizer — OPL & OPN — VST/LV2/Standalone
Boost Software License 1.0
426 stars 22 forks source link

make it build on M2 macOS 13 (probably M1 and 10.13) #93

Open atsushieno opened 1 year ago

atsushieno commented 1 year ago

I had been trying to build ADLplug/OPNplug on my M2 mac and managed to get it working, so I would share it here.

There was a drawback in the change set though; midi_keyboard_ex.h/.cc does not compile with the latest clang++ from Xcode toolchains (it fails to resolve the class name at JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR). Looks like it is required only to reduce juce_audio_utils, so I only removed the hack around (ex namespace) and simply added the module to the build as I don't see the reason why it had better be cut. If there is any way to preserve it to still compile fine, then I would bring it back, I do not stick to it.

Wohlstand commented 8 months ago

Thanks! I took some look, and seems fine.

Wohlstand commented 8 months ago

However, I can't merge, @jpcima didn't gave me a permission to this repo, and now I can't contact him: he seems disappeared for a while... (After September 2022, he disappeared)

Wohlstand commented 8 months ago

I guess, I'll fork this repo to apply/receive fixes until the wonder happens and @jpcima comes back.

atsushieno commented 8 months ago

I have my own fork with a handful of improvements and migrations to JUCE7 there. If it's looking easier to maintain I can give you write access and do whatever that does not cost (much). https://github.com/atsushieno/ADLplug-AE/