1 This is only tested on Linux. With some trouble, it might work on Windows as well.
3 The build process uses scons, a build tool written in python. You'll
4 need to have python installed, but scons installation is optional: a
5 runtime copy of scons (called scons-local) is included with zxing. To
6 use the included copy of scons-local, where the instructons says enter
7 "scons", enter "python scons/scons.py" instead. For example, to build
8 the library only, you'd use "python scons/scons.py lib" instead of
11 To build the library only:
12 - Run "scons lib" in this folder (cpp)
14 To build the unit tests:
15 - Install cppunit (libcppunit-dev on Ubuntu)
17 - Run "testrunner" in the build folder
19 To build the test utility:
20 - Install Magick++ (libmagick++-dev on Ubuntu)
23 An simple example application is now also included, but no compilation instructions yet.
28 To use the test utility:
31 - "zxing testout *.jpg > report.html"
32 - With the zxing test data, from the cpp folder:
34 - "build/zxing testout ../core/test/data/blackbox/qrcode-*/* > report.html"
40 To profile the code (very useful to optimize the code):
42 - "valgrind --tool=callgrind build/zxing - path/to/test/data/*.jpg > report.html"
43 - kcachegrind is a very nice tool to analize the output