mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
ITFReader.cpp:75 was catching and re-throwing Exception instead of ReaderException, causing scanning to terminate prematurely in some cases (i.e. core/test/data/blackbox/ean13-1/23.JPG). The calling function, MultiFormatOneDReader::doDecode, is only catching ReaderException's. An Exception would be passed all the way up to the caller, even if scanning hasn't finished yet for other decoders for other rows. git-svn-id: https://zxing.googlecode.com/svn/trunk@1493 59b500cc-1b3d-0410-9834-0bbf25fbcc57 |
||
---|---|---|
.. | ||
core | ||
magick/src | ||
.svnignore | ||
astyle-options | ||
blackboxtest.sh | ||
format | ||
README | ||
SConscript | ||
SConstruct |
This is only tested on Linux. With some trouble, it might work on Windows as well. To build the library only: - Install scons - Run "scons lib" in this folder (cpp). To build the unit tests: - Install cppunit (libcppunit-dev on Ubuntu) - Run "scons tests" - Run "testrunner" in the build folder To build the test utility: - Install Magick++ (libmagick++-dev on Ubuntu) - Run "scons zxing" An simple example application is now also included, but no compilation instructions yet. To clean: - Run "scons -c all" To use the test utility: - Basic usage: - "mkdir testout" - "zxing testout *.jpg > report.html" - With the zxing test data, from the cpp folder: - "mkdir testout" - "build/zxing testout ../core/test/data/blackbox/qrcode-*/* > report.html" To format the code: - Install astyle - Run ./format To profile the code (very useful to optimize the code): - Install valgrind - "valgrind --tool=callgrind build/zxing - path/to/test/data/*.jpg > report.html" - kcachegrind is a very nice tool to analize the output