您尚未登录。

楼主 #1 2020-09-17 12:15:35

jephy
会员
注册时间: 2020-09-17
已发帖子: 9
积分: 9

docker环境下,移植zbar

  1. 下载源码
    http://zbar.sourceforge.net/download.html

  2. 配置不需要的模块
    建立输出目录: mkdir output
    配置参数及交叉编译: ./configure --prefix=$(pwd)/output --host=arm-linux --enable-shared --enable-static --without-imagemagick --without-jpeg --without-python --without-gtk --without-qt --disable-video

  3. make && make install

  4. 最终生成文件目录

|-- bin
|-- include
| |-- zbar
| | |-- Decoder.h
| | |-- Exception.h
| | |-- Image.h
| | |-- ImageScanner.h
| | |-- Processor.h
| | |-- Scanner.h
| | |-- Symbol.h
| | |-- Video.h
| | `-- Window.h
| `-- zbar.h
|-- lib
| |-- libzbar.a
| |-- libzbar.la
| |-- libzbar.so -> libzbar.so.0.2.0
| |-- libzbar.so.0 -> libzbar.so.0.2.0
| |-- libzbar.so.0.2.0
| `-- pkgconfig
| `-- zbar.pc
`-- share
|-- doc
| `-- zbar
| |-- COPYING
| |-- HACKING
| |-- INSTALL
| |-- LICENSE
| |-- NEWS
| |-- README
| `-- TODO
|-- man
| `-- man1
`-- zbar

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn


东莞哇酷科技有限公司开发