-
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
Failed to build with Go 1.9.2 #136
Comments
Could you use this version instead? https://github.com/sciter-sdk/go-sciter/releases/tag/go-1.9 |
yes, It can work well for me |
this version can work in Go 1.9.5, but can't use in Go1.10.1 |
Exactly. They are incompatible. If you can fix it - you're welcome :) |
@pravic I‘m sorry, I just learned golang a few days. I have no power to do it. |
C:\Users\waleson>gcc --version C:\Users\waleson>go version C:\Users\waleon>go get github.com\sciter-sdk\go-sciter github.com/sciter-sdk/go-sciterWarning: resolving _SciterHostCallback_cgo by linking to _SciterHostCallback_cgo@8 https://codeload.github.com/sciter-sdk/go-sciter/zip/go-1.9 |
I use go1.9.2 windows/amd64 and TDM-GCC-64 in win10,but it can‘t work:
github.com/sciter-sdk/go-sciter
src\github.com\sciter-sdk\go-sciter\sciter.go:675[C:\Users\ZYQ\AppData\Local\Temp\go-build684847486\github.com\sciter-sdk\go-sciter_obj\sciter.cgo1.go:511:22]: cannot use bs (type _Ctype_LPCSTR) as type *_Ctype_char in argument to _Cfunc_GoString
src\github.com\sciter-sdk\go-sciter\sciter.go:806[C:\Users\ZYQ\AppData\Local\Temp\go-build684847486\github.com\sciter-sdk\go-sciter_obj\sciter.cgo1.go:652:5]: cannot use cname (type *_Ctype_char) as type *_Ctype_CHAR in argument to func literal
src\github.com\sciter-sdk\go-sciter\sciter.go:823[C:\Users\ZYQ\AppData\Local\Temp\go-build684847486\github.com\sciter-sdk\go-sciter_obj\sciter.cgo1.go:675:5]: cannot use cname (type *_Ctype_char) as type *_Ctype_CHAR in argument to func literal
src\github.com\sciter-sdk\go-sciter\sciter.go:885[C:\Users\ZYQ\AppData\Local\Temp\go-build684847486\github.com\sciter-sdk\go-sciter_obj\sciter.cgo1.go:748:5]: cannot use cname (type *_Ctype_char) as type *_Ctype_CHAR in argument to func literal
src\github.com\sciter-sdk\go-sciter\sciter.go:897[C:\Users\ZYQ\AppData\Local\Temp\go-build684847486\github.com\sciter-sdk\go-sciter_obj\sciter.cgo1.go:771:5]: cannot use cname (type *_Ctype_char) as type *_Ctype_CHAR in argument to func literal
src\github.com\sciter-sdk\go-sciter\types.go:596[C:\Users\ZYQ\AppData\Local\Temp\go-build684847486\github.com\sciter-sdk\go-sciter_obj\types.cgo1.go:527:26]: cannot use s.name (type _Ctype_LPCSTR) as type *_Ctype_char in argument to _Cfunc_GoString
src\github.com\sciter-sdk\go-sciter\types.go:979[C:\Users\ZYQ\AppData\Local\Temp\go-build684847486\github.com\sciter-sdk\go-sciter_obj\types.cgo1.go:725:26]: cannot use s.behaviorName (type _Ctype_LPCSTR) as type *_Ctype_char in argument to _Cfunc_GoString
The text was updated successfully, but these errors were encountered: