美文网首页
ubuntu16.04编译zbar1.0

ubuntu16.04编译zbar1.0

作者: RunningJiang | 来源:发表于2021-01-25 22:58 被阅读0次
cd zbar_directory
chmod 777 configure
export CFLAGS=""
./configure
make
  • 遇到错误
In file included from /usr/include/stdio.h:937:0,
                 from zbar/debug.h:60,
                 from zbar/scanner.c:34:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:140:1: error: expected identifier or ‘(’ before ‘{’ token

解决方法:


export CFLAGS="" //将CFLAGS环境变量置为空

相关文章

网友评论

      本文标题:ubuntu16.04编译zbar1.0

      本文链接:https://www.haomeiwen.com/subject/wkxwzktx.html