zxing/cpp
ralf.kistner@gmail.com 4c51e618e3 C++ Port:
- Fixed to be able to build for the Symbian emulator (variable-sized arrays cannot be created on the stack).
- Fixed bug only present on Symbian phones that prevented the alignment patterns from being found (the Symbian implementation of valarray does not initialize its values to 0, unless it is explicitly specified as the default value).
- Fixed an include.

git-svn-id: https://zxing.googlecode.com/svn/trunk@1100 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-05 22:11:15 +00:00
..
core C++ Port: 2009-11-05 22:11:15 +00:00
magick/src Many changes to the C++ port. 2009-11-01 17:30:30 +00:00
astyle-options Many changes to the C++ port. 2009-11-01 17:30:30 +00:00
format Many changes to the C++ port. 2009-11-01 17:30:30 +00:00
README Many changes to the C++ port. 2009-11-01 17:30:30 +00:00
SConscript C++ Port: 2009-11-05 22:11:15 +00:00
SConstruct Many changes to the C++ port. 2009-11-01 17:30:30 +00:00

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"

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