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
go build -o tdengine-sync main.go
报错
github.com/taosdata/driver-go/v2/wrapper
../../../../../go/pkg/mod/github.com/taosdata/driver-go/[email protected]/wrapper/stmt.go:46:58: could not determine kind of name for C.TAOS_BIND
交叉编译:
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o tdengine-sync main.go
报错
github.com/taosdata/driver-go/v2/wrapper: build constraints exclude all Go files in /Users/aallenma/go/pkg/mod/github.com/taosdata/driver-go/[email protected]/wrapper
不论怎么编译都报错
The text was updated successfully, but these errors were encountered:
采用的官方示例
自编译:
go build -o tdengine-sync main.go
报错
github.com/taosdata/driver-go/v2/wrapper
../../../../../go/pkg/mod/github.com/taosdata/driver-go/[email protected]/wrapper/stmt.go:46:58: could not determine kind of name for C.TAOS_BIND
交叉编译:
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o tdengine-sync main.go
报错
github.com/taosdata/driver-go/v2/wrapper: build constraints exclude all Go files in /Users/aallenma/go/pkg/mod/github.com/taosdata/driver-go/[email protected]/wrapper
不论怎么编译都报错
The text was updated successfully, but these errors were encountered: