Hello,
I am trying to compile the VST3 plugins on MacOS 15.5 with M3 processor. I receive the following error message:
/Users/user/eclipsa-audio-plugin/third_party/JUCE/modules/juce_gui_basics/native/juce_Windowing_mac.mm:532:33:
error: 'CGWindowListCreateImage' is unavailable: obsoleted in macOS 15.0 -
Please use ScreenCaptureKit instead.
532 | CGImageRef screenShot = CGWindowListCreateImage (CGRectNull,
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.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,
| ^
7 warnings and 1 error generated.
ninja: build stopped: subcommand failed.
From what I understand, the code needs to be changed in order to incorporate the updated ScreenCaptureKit. I am not sure how to fix this; please advise how can I proceed with compiling the plugins.