最近在使用robotgo来开发点小应用,在使用到robotgo.ShowAlert的时候报错了!是怎么回事?
代码如下:
package main
import "github.com/go-vgo/robotgo"
func main() {
robotgo.ShowAlert("Title", "This is my window")
}
go run 上面的代码,命令行提示错误如下:
execvp failed: No such file or directory
xmessage or equivalent not found.
有人知道是怎么回事嘛?我缺少了什么东西?