ying32 / govcl

Cross-platform Go/Golang GUI library.
https://z-kit.cc
Apache License 2.0
2.25k stars 227 forks source link

MacOS13.3错误 #170

Open yundmb opened 1 year ago

yundmb commented 1 year ago

vcl

ld: warning: object file (/var/folders/8y/sj3hxt4n5bg4vvryb6bjz97r0000gn/T/go-link-530526764/000003.o) was built for newer macOS version (13.0) than being linked (10.8)ld: warning: ld: warning: ld: warning: ld: warning: object file (/var/folders/8y/sj3hxt4n5bg4vvryb6bjz97r0000gn/T/go-link-530526764/000005.o) was built for newer macOS version (13.0) than being linked (10.8) ld: warning: object file (/var/folders/8y/sj3hxt4n5bg4vvryb6bjz97r0000gn/T/go-link-530526764/000006.o) was built for newer macOS version (13.0) than being linked (10.8) object file (/var/folders/8y/sj3hxt4n5bg4vvryb6bjz97r0000gn/T/go-link-530526764/000010.o) was built for newer macOS version (13.0) than being linked (10.8) object file (/var/folders/8y/sj3hxt4n5bg4vvryb6bjz97r0000gn/T/go-link-530526764/000004.o) was built for newer macOS version (13.0) than being linked (10.8) ld: warning: object file (/var/folders/8y/sj3hxt4n5bg4vvryb6bjz97r0000gn/T/go-link-530526764/000007.o) was built for newer macOS version (13.0) than being linked (10.8) ld: warning: ld: warning: ld: warning: object file (/var/folders/8y/sj3hxt4n5bg4vvryb6bjz97r0000gn/T/go-link-530526764/000011.o) was built for newer macOS version (13.0) than being linked (10.8)object file (/var/folders/8y/sj3hxt4n5bg4vvryb6bjz97r0000gn/T/go-link-530526764/000009.o) was built for newer macOS version (13.0) than being linked (10.8) ld: warning: object file (/var/folders/8y/sj3hxt4n5bg4vvryb6bjz97r0000gn/T/go-link-530526764/000008.o) was built for newer macOS version (13.0) than being linked (10.8) object file (/var/folders/8y/sj3hxt4n5bg4vvryb6bjz97r0000gn/T/go-link-530526764/000012.o) was built for newer macOS version (13.0) than being linked (10.8) object file (/var/folders/8y/sj3hxt4n5bg4vvryb6bjz97r0000gn/T/go-link-530526764/000002.o) was built for newer macOS version (13.0) than being linked (10.8)

/private/var/folders/8y/sj3hxt4n5bg4vvryb6bjz97r0000gn/T/GoLand/___go_build_vcl dlopen err: dlopen(liblcl.dylib, 0x0009): tried: 'liblcl.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSliblcl.dylib' (no such file), '/usr/lib/liblcl.dylib' (no such file, not in dyld cache), 'liblcl.dylib' (no such file), '/usr/local/lib/liblcl.dylib' (no such file), '/usr/lib/liblcl.dylib' (no such file, not in dyld cache) panic: dlopen("liblcl.dylib"), failed.

goroutine 1 [running]: github.com/ying32/govcl/vcl/api.loadUILib() /Users/xxx/.go/pkg/mod/github.com/ying32/govcl@v2.2.0+incompatible/vcl/api/dylib_nonmemory.go:32 +0xd8 github.com/ying32/govcl/vcl/api.init() /Users/xxx/.go/pkg/mod/github.com/ying32/govcl@v2.2.0+incompatible/vcl/api/dylib.go:24 +0x13e

ying32 commented 1 year ago

这是你没看这个项目里得readme和或者文档

mainlxl commented 11 months ago

能编译一份苹果arm版本的liblcl.dylib 现在大部分mac都已切换m系列芯片了

ying32 commented 11 months ago

没办法,我也不可能为了这个而去特意去买一台arm芯片的Mac book。只能看有没人共享一个了…

mainlxl commented 11 months ago

liblcl.dylib.zip 昨天追着文档编译了一遍2.2.3

mainlxl commented 11 months ago

就是我在demo上 加上_ "github.com/ying32/govcl/pkgs/macapp" 跑demo时 第一没啥问题 关了马上运行第二次就崩溃

image

过一会又可以运行

ying32 commented 11 months ago

看这异常报是的代码签名的问题。。。

mainlxl commented 11 months ago

是macapp的壳的签名么?