-
Notifications
You must be signed in to change notification settings - Fork 267
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
running example have an error. #167
Comments
Go and mingw versions? |
go version is 1.9.3,and tdm64-gcc-5.1.0-2,now I cmd go get github.com/sciter-sdk/go-sciter.The same problem has arisen |
$ go get github.com/sciter-sdk/go-sciter github.com/sciter-sdk/go-scitersciter-sdk\go-sciter\sciter.go:742: cannot use bs (type C.LPCSTR) as type *C.char in argument to _Cfunc_GoString |
Unfortunately, #136 is your case. |
Closing this in favor of that issue. |
OK.all right.thanks and I didn't pay attention to that tag.you mean only the 1.9 version is ok?the latest or since 1.9 version unsupport? |
I've made it more clear, I hope: https://github.com/sciter-sdk/go-sciter/releases
|
I got package of that version. and running no error,thanks very much. |
..\github.com\sciter-sdk\go-sciter\sciter.go:742: cannot use bs (type C.LPCSTR) as type *C.char in argument to _Cfunc_GoString
..\github.com\sciter-sdk\go-sciter\sciter.go:871: cannot use cname (type *C.char) as type *C.CHAR in argument to func literal
..\github.com\sciter-sdk\go-sciter\sciter.go:888: cannot use cname (type *C.char) as type *C.CHAR in argument to func literal
..\github.com\sciter-sdk\go-sciter\sciter.go:950: cannot use cname (type *C.char) as type *C.CHAR in argument to func literal
..\github.com\sciter-sdk\go-sciter\sciter.go:962: cannot use cname (type *C.char) as type *C.CHAR in argument to func literal
..\github.com\sciter-sdk\go-sciter\types.go:596: cannot use s.name (type C.LPCSTR) as type *C.char in argument to _Cfunc_GoString
..\github.com\sciter-sdk\go-sciter\types.go:972: cannot use s.behaviorName (type C.LPCSTR) as type *C.char in argument to _Cfunc_GoString
The text was updated successfully, but these errors were encountered: