driver-go icon indicating copy to clipboard operation
driver-go copied to clipboard

macos wrapper/asynccb.go:7:10: fatal error: 'taos.h' file not found

Open dengany opened this issue 2 years ago • 3 comments

image go get github.com/taosdata/driver-go/v2/taosSql # github.com/taosdata/driver-go/v2/wrapper ../../../go/pkg/mod/github.com/taosdata/driver-go/[email protected]/wrapper/asynccb.go:7:10: fatal error: 'taos.h' file not found #include

dengany avatar Aug 11 '22 03:08 dengany

I have the same question

evanzhang87 avatar Aug 18 '22 08:08 evanzhang87

I have the same question

you should install drive , https://docs.taosdata.com/develop/connect/#!

Yanjinux avatar Aug 19 '22 08:08 Yanjinux

If you do not want install the driver locally, you can use taosRestful instead of taosSql connector, try this link: https://docs.tdengine.com/reference/connector/go/#connecting-via-connector

baikeh avatar Oct 17 '22 08:10 baikeh