您的位置:首页 > Web前端

基于Framebuffer显示的ZBar开源软件的移植

2015-07-20 00:00 736 查看
摘要: 在arm平台交叉编译ZBar开源软件, 并将显示改成直接在Framebuffer设备显示

下载源码

wget

# 解压
tar -xvjf zbar-0.10.tar.bz2
cd zbar-0.10/


交叉编译

libtoolize --copy --force --install
aclocal
autoconf
autoheader
automake -a -c -f --foreign
# 请根据实际情况修改CC和--prefix
CC=/path/to/arm-linux-gnueabi-gcc ./configure --host=arm-linux --without-imagemagick --without-python --without-qt --without-java --without-gtk --prefix=/path/to/rootfs
make
make install
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  zbar fb arm cross