We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
hi, I upgraded my MacBook M1 to version 15.2, and the command "cpanm Prima" failed. The log is as follows:
/include/webp -I/opt/homebrew/opt/webp/include -I/opt/homebrew/Cellar/libxpm/3.5.17/include -Wno-compound-token-split-by-macro -fno-common -DPERL_DARWIN -mmacosx-version-min=15.2 -DNO_THREAD_SAFE_QUERYLOCALE -DNO_POSIX_2008_LOCALE -fno-strict-aliasing -pipe -fstack-protector-strong -Wno-error=implicit-function-declaration -O3 -Wall -DVERSION="1.75" -DXS_VERSION="1.75" "-I/Users/yan4138/perl5/perlbrew/perls/perl-5.40.0/lib/5.40.0/darwin-2level/CORE" unix/cocoa.c -o unix/cocoa.o unix/cocoa.c:57:16: error: 'CGWindowListCreateImage' is unavailable: obsoleted in macOS 15.0 - Please use ScreenCaptureKit instead. 57 | if (!( cimg = CGWindowListCreateImage( | ^ /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, | ^ 1 error generated. make: *** [unix/cocoa.o] Error 1 -> FAIL Installing Prima failed. See /Users/yan4138/.cpanm/work/1736049342.46499/build.log for details. Retry with --force to force install
The text was updated successfully, but these errors were encountered:
Thanks for the report,will take a look later. Meanwhile if you need a dirty workaround just delete unix/cocoa.c and rerun perl Makefile.PL
Sorry, something went wrong.
No branches or pull requests
hi, I upgraded my MacBook M1 to version 15.2, and the command "cpanm Prima" failed. The log is as follows:
The text was updated successfully, but these errors were encountered: