Skip to content
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

failed to build 2.5.8 on macos sequoia #1926

Open
chenrui333 opened this issue Sep 12, 2024 · 5 comments
Open

failed to build 2.5.8 on macos sequoia #1926

chenrui333 opened this issue Sep 12, 2024 · 5 comments

Comments

@chenrui333
Copy link

👋 trying to build 2.5.8 release on macos sequoia, but ran into the following build failure:

  Compiling juce_gui_basics.cpp
  In file included from juce_gui_basics.cpp:283:
  ./native/juce_mac_Windowing.mm:723:33: error: 'CGWindowListCreateImage' is unavailable: obsoleted in macOS 15.0 - Please use ScreenCaptureKit instead.
    723 |         CGImageRef screenShot = CGWindowListCreateImage (CGRectNull,
        |                                 ^
  /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGWindow.h:271:33: note: 'CGWindowListCreateImage' has been explicitly marked unavailable here
    271 | CG_EXTERN CGImageRef __nullable CGWindowListCreateImage(CGRect screenBounds,
        |                                 ^
  Creating juce_core.a
  Compiling juce_gui_extra.cpp
  1 error generated.

full build log in here, https://github.com/Homebrew/homebrew-core/actions/runs/10823741563/job/30029771314#step:4:199

@chenrui333
Copy link
Author

still seeing the same with 2.5.9 rel, Homebrew/homebrew-core#191510 cc @falkTX

@falkTX
Copy link
Owner

falkTX commented Sep 22, 2024

I know, issue comes from juce which I have removed for the next major version but I dont want to have big changes in the 2.5.x so this is "wont fix" for 2.5.x

The next 2.6.x series is almost ready, but not quite yet

@chenrui333
Copy link
Author

is there patch that I can backport it?

@falkTX
Copy link
Owner

falkTX commented Sep 22, 2024

is there patch that I can backport it?

not really, I wrote new vst3 and AU hosting code so I wouldnt need to rely on juce for that.

and juce doesnt do LTS releases, the changes that handle sequoia are on JUCE8 which is quite the change for the old JUCE6 that 2.5.x Carla has

disabling JUCE is possible but that would drastically change how Carla works for a bugfix release (native AU and VST3 hosting dont work on 2.5.x and device handling is also JUCE)

I dont have a solution here besides building carla 2.5.x with older macOS.
For 2.6.x this wont be a problem, but will take a bit before that is ready.

@chenrui333
Copy link
Author

got you, I will wait for the new 2.6.x release then. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants