-
Notifications
You must be signed in to change notification settings - Fork 33
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
编译时提示无法找到taos.h #231
Comments
编译操作系统 linux centos 8 4.18.0-240.10.1.el8_3.x86_64 |
我在运行时也遇到了这个错误
|
macos same issue: github.com/taosdata/driver-go/v3/wrappervendor/github.com/taosdata/driver-go/v3/wrapper/asynccb.go:7:10: fatal error: 'taos.h' file not found |
因为找不到taos.h头文件,所以会报这个错,安装taos客户端相关的头文件会引入系统lib目录,然后就可以了 |
taos 这真不是一般的难用,一个 client 搞的一塌糊涂 |
macos 安装了taos客户端后还是不行,依然找不到taos.h头文件,通过find找到taos.h是存放到了:/usr/local/include/taos.h |
root/go/pkg/mod/github.com/taosdata/driver-go/[email protected]/wrapper/asynccb.go:7:10: fatal error: taos.h: No such file or directory
#include <taos.h>
^~~~~~~~
compilation terminated.
The text was updated successfully, but these errors were encountered: