use of undeclared identifier 'SCScreenshotManager'
Opened this issue · 3 comments
xixider commented
- use go 17 or go 18
- 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 commented
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 commented
Same error, any feedback?
breece1991 commented
这是一封自动回复邮件。已经收到您的来信,我会尽快回复。