Skip to content

macos 编译失败, tdengine 2.2.0 版本 #251

@fishdemon

Description

@fishdemon

采用的官方示例

自编译:

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

不论怎么编译都报错

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions