getlantern / systray

a cross platfrom Go library to place an icon and menu in the notification area
Apache License 2.0
3.27k stars 450 forks source link

raspberrypi can't build #277

Open introspection3 opened 2 months ago

introspection3 commented 2 months ago

pi@raspberrypi:~/Documents/gemini-tray $ CGO_ENABLED=0 go build main.go

github.com/getlantern/systray

../../go/pkg/mod/github.com/getlantern/systray@v1.2.2/systray.go:78:2: undefined: nativeLoop ../../go/pkg/mod/github.com/getlantern/systray@v1.2.2/systray.go:106:2: undefined: registerSystray ../../go/pkg/mod/github.com/getlantern/systray@v1.2.2/systray.go:111:14: undefined: quit ../../go/pkg/mod/github.com/getlantern/systray@v1.2.2/systray.go:136:2: undefined: addSeparator ../../go/pkg/mod/github.com/getlantern/systray@v1.2.2/systray.go:190:2: undefined: hideMenuItem ../../go/pkg/mod/github.com/getlantern/systray@v1.2.2/systray.go:195:2: undefined: showMenuItem ../../go/pkg/mod/github.com/getlantern/systray@v1.2.2/systray.go:220:2: undefined: addOrUpdateMenuItem ../../go/pkg/mod/github.com/getlantern/systray@v1.2.2/systray_linux.go:8:2: undefined: SetIcon

heliosgo commented 1 month ago

This package requires cgo