
- download the zbar source code
-
build the source and output the specific folder
/code123$ ./configure --prefix=/code --with-gtk=no --with-qt=no --enable-video=no$ make$ make installwe would find folders
bin,include,libin the/code -
install zbar package, specified with
includeandlib1pip install --global-option=build_ext --global-option="-I/code/include/" --global-option="-L/code/lib" zbar -
use zbar should spec the lib path
1LD_LIBRARY_PATH=/code/lib python




近期评论