Skip to content

📎 compile zbar with GBK and UTF8 support

License

LGPL-2.1, Unknown licenses found

Licenses found

LGPL-2.1
LICENSE
Unknown
COPYING
Notifications You must be signed in to change notification settings

cj1128/zbar-with-gbk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZBar with GBK and UTF8 Support

Modify zbar-0.10 to add GBK support, and remove SJIS.

Compile Library

  • configure

    $ ./configure --disable-video --without-xshm --without-xv --without-jpeg --without-imagemagick --without-gtk --without-python --without-qt --prefix=/tmp/local
  • make and install

    $ make
    $ make install

Now we get our new zbar library at /tmp/local.

Compile Test Code

$ gcc -I/tmp/local/include -L/tmp/local/lib -lzbar -lpng test_zbar.c -o test_zbar
$ ./test_zbar ./test.png
decoded QR-Code symbol "你好"
$ make distclean

About

📎 compile zbar with GBK and UTF8 support

Resources

License

LGPL-2.1, Unknown licenses found

Licenses found

LGPL-2.1
LICENSE
Unknown
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages