Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

在 使用 golang 的 需要用到

github.com/PeterCxy/gozbar

但在安装的时候遇到错误如下

E:2017codegolang>go get github.com/PeterCxy/gozbar
# github.com/PeterCxy/gozbar
D:langgopathsrcgithub.comPeterCxygozbarconst.go:5:19: fatal error: zbar.h: No such file or directory
 // #include <zbar.h>
                   ^
compilation terminated.

在遇到 有些 golib 用到 include 的时候 该如何办呢.

求大神指点!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
1.7k views
Welcome To Ask or Share your Answers For Others

1 Answer

安装c++编译器咯, 在变量环境里设置好编译器路径就ok了


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...