Skip to content

raspberrypi can't build #277

Open
Open

Description

@introspection3

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

  1. eliosxie commented on Aug 1, 2024

    @eliosxie

    This package requires cgo

  2. safciplak commented on Oct 13, 2024

    @safciplak

    How we can resolve this issue @heliosgo ?

  3. noboruma commented on Jul 16, 2025

    @noboruma

    @safciplak you can use CGO_ENABLED=1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions