Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile error: cannot use _Ctype_long(port) (type _Ctype_long) as type _Ctype_longlong in argument #1

Open
ganeshrvel opened this issue Aug 7, 2020 · 0 comments · May be fixed by #2

Comments

@ganeshrvel
Copy link

ganeshrvel commented Aug 7, 2020

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
@ganeshrvel ganeshrvel linked a pull request Aug 7, 2020 that will close this issue
@ganeshrvel ganeshrvel reopened this Aug 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant