zxing/cpp
2010-06-24 05:04:36 +00:00
..
core [cpp] added const qualifiers that had been removed (accidentaly\?) to LuminanceSourse pure virtual methods. Fixed build problem of ScanTest. Please check that ScanTest builds if you revert this, it will consist of removing const qualifyers to implementation these methods in sublass of LuminancesSource 2010-06-24 05:04:36 +00:00
magick/src C++ port made more compatible with uSTL (no functional changes). 2010-04-02 14:11:53 +00:00
.svnignore C++ port: 2009-12-08 21:16:43 +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 C++ port: 2009-12-08 21:16:43 +00:00
SConscript C++ port: 2009-12-08 21:16:43 +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"

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