从github上git的源码的目录下没有configure ,晕
wget http://downloads.sourceforge.net/project/zbar/zbar/0.10/zbar-0.10.tar.gz
tar -zvxf zbar-0.10.tar.gz
export CFLAGS=""./configure --prefix=$(pwd)/output0808 --enable-shared --enable-static --without-imagemagick --without-jpeg --without-python --without-gtk --without-qt --disable-video
make&&make intsall
在output0808/lib下
file libzbar.so.0.2.0
本节环境: linux deepin 15
在编译zbar之前,请看之前博客《Linux Imagemagick 安装》,zbar 测试依赖Imagemagick工具。
一、下载zbar源码
http://zbar.sourceforge.net/download.html
二、解压文件
eric@eric-