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 am building on Windows 11 amd64, using this blog post as a source.
Go version: go1.22.3 windows/amd64
When I run: go build -v on my project that exclusively calls python code from Go, I get these errors:
PS> go build -v
github.com/tliron/py4go
# github.com/tliron/py4go
..\..\go\pkg\mod\github.com\tliron\[email protected]\primitive.go:196:28: cannot use _Ctype_long(size) (value of type _Ctype_long) as _Ctype_longlong value in argument to (_Cfunc_PyTuple_New)
..\..\go\pkg\mod\github.com\tliron\[email protected]\primitive.go:209:66: cannot use _Ctype_long(index) (value of type _Ctype_long) as _Ctype_longlong value in variable declaration
..\..\go\pkg\mod\github.com\tliron\[email protected]\primitive.go:240:26: cannot use _Ctype_long(size) (value of type _Ctype_long) as _Ctype_longlong value in argument to (_Cfunc_PyList_New)
..\..\go\pkg\mod\github.com\tliron\[email protected]\primitive.go:253:65: cannot use _Ctype_long(index) (value of type _Ctype_long) as _Ctype_longlong value in variable declaration
..\..\go\pkg\mod\github.com\tliron\[email protected]\primitive.go:334:61: cannot use _Ctype_long(size) (value of type _Ctype_long) as _Ctype_longlong value in argument to (_Cfunc_PyBytes_FromStringAndSize)
..\..\go\pkg\mod\github.com\tliron\[email protected]\primitive.go:374:69: cannot use _Ctype_long(size) (value of type _Ctype_long) as _Ctype_longlong value in argument to (_Cfunc_PyByteArray_FromStringAndSize)
The text was updated successfully, but these errors were encountered:
I am building on Windows 11 amd64, using this blog post as a source.
Go version:
go1.22.3 windows/amd64
When I run:
go build -v
on my project that exclusively calls python code from Go, I get these errors:The text was updated successfully, but these errors were encountered: