Add Carla support for MacOS#4558
Conversation
|
The problem is that the build system will try to link with the Carla library even if it doesn't exist. |
This is why I've added a new
That was my original thought, to just strip the Note that this library was already using
Might have to. I'm pretty sure I got it building locally using |
I mean something like this: PhysSong@65983c5
See e.g. PhysSong@c57a607. I'm not sure about the
IIRC it's determined when linking. |
Did you mean to completely remove the
I have that fixed now. Specified the old cmake behavior. |
|
All concerns addressed, just waiting for Homebrew/homebrew-core#31560 to be merged. |
|
@PhysSong once Travis-CI passes, this is ready for merge. The only thing we need decision on is the style of the precompiler checks in #4558 (review). |
|
Updates:
Waiting for Travis-CI, then merging. |
Add Carla support for MacOS
|
this entire thread is like a novel and I am all here for it. Good job :) |
window->winId();to prevent it from having focus bug.Steps:
https://github.com/falkTX/Carla/releases/download/v1.9.9/Carla_2.0-beta7-macos.dmg (this version has the hang-on-relaunch bug, wait for 2.0 RC2 or stable)
https://github.com/tresf/lmms/releases/download/v1.2.0-RC7/lmms-1.2.0-rc6.36-mac10.13.dmg (this version has the focus bug, 1.2.0-RC7 onward will be fixed)
Details:
DYNAMIClinking option forBuildPlugin.cmakefor-undefined dynamic_lookuplinking against an optional.dylib.Addsfalktx/Carlaas a submodule to LMMS to providecarla-standalone.pcand required headers. These should eventually be moved to a Homebrew recipe.Installscarla-standalone.pcto the build directory with some regex changes. These are hackish and slightly volatile, but the submodule will ensure we're on a dedicated commit hash./Applications/LMMS.appand/Applications/Carla.app)./Applications/Carla.appwhen launching the python scripts, so the plugin may appear in the plugin listing but fail to launch if installed elsewhere (e.g.~/Applications/Carla.app, etc.). This is an easy runtime detection that can be fix if needed, located atplugins/carlabase/carla.cpp#L165Closes #2689