prusa3d / PrusaSlicer

G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
https://www.prusa3d.com/prusaslicer/
GNU Affero General Public License v3.0
7.66k stars 1.92k forks source link

CGDisplayCreateImage' is unavailable: obsoleted in macOS 15.0 #13423

Open john-f-chamberlain opened 4 days ago

john-f-chamberlain commented 4 days ago

Description of the bug

When attempting to build dependencies on MacOS 15 you receive the following error:

/Users/username/Projects/PrusaSlicer/deps/build/dep_wxWidgets-prefix/src/dep_wxWidgets/src/osx/carbon/dcscreen.cpp:73:13: error: 'CGDisplayCreateImage' is unavailable: obsoleted in macOS 15.0 - Please use ScreenCaptureKit instead.

Project file & How to reproduce

Follow instructions here: https://github.com/prusa3d/PrusaSlicer/blob/master/doc/How%20to%20build%20-%20Mac%20OS.md

Checklist of files included above

Version of PrusaSlicer

NA: src

Operating system

MacOS 15.0

Printer model

N/A

john-f-chamberlain commented 4 days ago

Related: https://github.com/wxWidgets/wxWidgets/issues/24724