从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中生成的工程结构如下
实验中并没有使用到交叉编译器,生成的是x86架构的文件
在output0808/lib下
file libzbar.so.0.2.0
转载于:https://www.cnblogs.com/picky-eater/p/11320040.html
相关资源:zbar-0.10[20190711].tar.gz(内含交叉编译配置脚本)