You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For more information about this error, try rustc --explain E0046.
error: could not compile libscreenshot due to previous error
warning: build failed, waiting for other jobs to finish...
Error failed to build app: failed to build app
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
this happens in macbookpro m1
The text was updated successfully, but these errors were encountered:
Compiling libscreenshot v0.3.1 (https://github.com/MadrigalStreetCartel/libscreenshot?branch=area-capture#2bd0a19c)
error[E0046]: not all trait items implemented, missing:
capture_window_area
,capture_focused_window_area
--> /Users/chy/.cargo/git/checkouts/libscreenshot-7b3b756c80d81841/2bd0a19/src/platform/macos/cg_provider.rs:46:1
|
46 | impl WindowCaptureProvider for CGProvider {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing
capture_window_area
,capture_focused_window_area
in implementation|
::: /Users/chy/.cargo/git/checkouts/libscreenshot-7b3b756c80d81841/2bd0a19/src/traits/window_capture_provider.rs:5:5
|
5 | fn capture_window_area(&self, window_id: WindowId, area: Area) -> Result;
| --------------------------------------------------------------------------------------
capture_window_area
from trait6 | fn capture_focused_window(&self) -> Result;
7 | fn capture_focused_window_area(&self, area: Area) -> Result;
| -------------------------------------------------------------------------
capture_focused_window_area
from traitFor more information about this error, try
rustc --explain E0046
.error: could not compile
libscreenshot
due to previous errorwarning: build failed, waiting for other jobs to finish...
Error failed to build app: failed to build app
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
this happens in macbookpro m1
The text was updated successfully, but these errors were encountered: