- download the zbar source code
-
build the source and output the specific folder
/code
123$ ./configure --prefix=/code --with-gtk=no --with-qt=no --enable-video=no$ make$ make installwe would find folders
bin
,include
,lib
in the/code
-
install zbar package, specified with
include
andlib
1pip 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
近期评论