-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
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:
DYNAMIC
linking option forBuildPlugin.cmake
for-undefined dynamic_lookup
linking against an optional.dylib
.Addsfalktx/Carla
as a submodule to LMMS to providecarla-standalone.pc
and required headers. These should eventually be moved to a Homebrew recipe.Installscarla-standalone.pc
to 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.app
and/Applications/Carla.app
)./Applications/Carla.app
when 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#L165
Closes #2689