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
Activity
eliosxie commentedon Aug 1, 2024
This package requires cgo
safciplak commentedon Oct 13, 2024
How we can resolve this issue @heliosgo ?
noboruma commentedon Jul 16, 2025
@safciplak you can use
CGO_ENABLED=1