You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use macOS Catalina 10.15.6.
go version: go1.14.5 darwin/amd64
I cloned this repo to my local machine and when I try to compile the code it throws:
go build -v -o godart.so -buildmode=c-shared
Error:
runtime/cgo
_/Users/username/go_dart_ffi_example/dart_api_dl
# _/Users/username/go_dart_ffi_example/dart_api_dl
dart_api_dl/dart_api_dl.go:23:29: cannot use _Ctype_long(port) (type _Ctype_long) as type _Ctype_longlong in argument to _Cfunc_GoDart_PostCObject
The text was updated successfully, but these errors were encountered:
I use macOS Catalina 10.15.6.
go version: go1.14.5 darwin/amd64
I cloned this repo to my local machine and when I try to compile the code it throws:
Error:
The text was updated successfully, but these errors were encountered: