Replies: 1 comment
-
try this one https://github.com/fyne-io/systray |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
集成github.com/getlantern/systray时,运行报下面错误,单独运行托盘代码时没有问题,同样代码在win虚拟机里是好的,但是在mac(m1)报下面错误
/opt/homebrew/Cellar/go/1.20.2/libexec/pkg/tool/darwin_arm64/link: running cc failed: exit status 1
duplicate symbol 'OBJC_CLASS$_AppDelegate' in:
/var/folders/21/qhqcdppj2rn_v1dx_t64s9vh0000gn/T/go-link-3028710247/000003.o
/var/folders/21/qhqcdppj2rn_v1dx_t64s9vh0000gn/T/go-link-3028710247/000026.o
duplicate symbol 'OBJC_METACLASS$_AppDelegate' in:
/var/folders/21/qhqcdppj2rn_v1dx_t64s9vh0000gn/T/go-link-3028710247/000003.o
/var/folders/21/qhqcdppj2rn_v1dx_t64s9vh0000gn/T/go-link-3028710247/000026.o
ld: 2 duplicate symbols for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Build error - exit status 1
No version running, build will be retriggered as soon as changes have been detected
Beta Was this translation helpful? Give feedback.
All reactions