[MacPorts] #70756: wxWidgets-3.0 @3.0.5.1_4: error: 'CGDisplayCreateImage' is unavailable: obsoleted in macOS 15.0 - Please use ScreenCaptureKit instead. (was: Failed to build wxWidgets-3.0 in MAC OS SEQUOIA)
MacPorts
noreply at macports.org
Tue Sep 17 13:45:32 UTC 2024
#70756: wxWidgets-3.0 @3.0.5.1_4: error: 'CGDisplayCreateImage' is unavailable:
obsoleted in macOS 15.0 - Please use ScreenCaptureKit instead.
----------------------------------+----------------------
Reporter: francescopappalardo | Owner: mojca
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.1
Resolution: | Keywords: sequoia
Port: wxWidgets-3.0 |
----------------------------------+----------------------
Changes (by ryandesign):
* status: new => assigned
* keywords: => sequoia
* version: => 2.10.1
* owner: (none) => mojca
* port: => wxWidgets-3.0
Comment:
Log says:
{{{
:info:build ../src/osx/carbon/dcscreen.cpp:96:17: error:
'CGDisplayCreateImage' is unavailable: obsoleted in macOS 15.0 - Please
use ScreenCaptureKit instead.
:info:build 96 | image =
CGDisplayCreateImage(kCGDirectMainDisplay);
:info:build | ^
:info:build
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h:383:33:
note: 'CGDisplayCreateImage' has been explicitly marked unavailable here
:info:build 383 | CG_EXTERN CGImageRef __nullable
CGDisplayCreateImage(CGDirectDisplayID displayID)
:info:build | ^
}}}
--
Ticket URL: <https://trac.macports.org/ticket/70756#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list