Skip to content
New issue

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

use of undeclared identifier 'SCScreenshotManager' #698

Open
xixider opened this issue Nov 7, 2024 · 3 comments
Open

use of undeclared identifier 'SCScreenshotManager' #698

xixider opened this issue Nov 7, 2024 · 3 comments

Comments

@xixider
Copy link

xixider commented Nov 7, 2024

  1. use go 17 or go 18
  2. code like this
    `package main

import (
"github.com/go-vgo/robotgo"
)

func main() {

robotgo.Move(10, 20)

}4. i got this error# github.com/kbinani/screenshot
../../go/pkg/mod/github.com/kbinani/screenshot@v0.0.0-20240820160931-a8a2c5d0e191/darwin.go:41:14: error: use of undeclared identifier 'SCScreenshotManager'
[SCScreenshotManager captureImageWithFilter:filter
^
1 error generated.`

@FsmMeng
Copy link

FsmMeng commented Nov 11, 2024

github.com/kbinani/screenshot

/Users/fsm/go/pkg/mod/github.com/kbinani/screenshot@v0.0.0-20240820160931-a8a2c5d0e191/darwin.go:41:14: error: use of undeclared identifier 'SCScreenshotManager'
[SCScreenshotManager captureImageWithFilter:filter
^
1 error generated.

@marvin-min
Copy link

Same error, any feedback?

@breece1991
Copy link

breece1991 commented Dec 2, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants