linux下對Zbar源碼進行編譯


 

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

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM