ubuntu配置zbar

wget http://downloads.sourceforge.net/project/zbar/zbar/0.10/zbar-0.10.tar.gz

tar -zvxf zbar-0.10.tar.gz
sudo apt-get install python-gtk2-dev
sudo apt-get install libqt4-dev
export CFLAGS="-fPIC"    

./configure  --prefix=/work/oop/zbar --enable-shared=yes --without-imagemagick -disable-video -without-qt -without-gtk -without-x 

make

make install


你可能感兴趣的:(技术--opencv与视觉)