zxing-cpp-3.0.2

Introduction to zxing-cpp

The zxing-cpp package provides an open-source, multi-format linear/matrix barcode image processing library.

[Note]

Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

Package Information

zxing-cpp dependencies

Required

CMake-4.2.3

Optional

googletest

Installation of zxing-cpp

Install zxing-cpp by running the following commands:

mkdir build &&
cd    build &&

cmake -D CMAKE_INSTALL_PREFIX=/usr \
      -D ZXING_C_API=OFF           \
      -D ZXING_EXAMPLES=OFF        \
      -D ZXING_WRITERS=BOTH        \
      -W no-dev ..                 &&
make

The tests require the googletest package, which is not in BLFS.

Now, as the root user:

make install

Contents

Installed Programs: None
Installed Libraries: libZXing.so
Installed Directories: /usr/include/ZXing and /usr/lib/cmake/ZXing

Short Descriptions

libZXing.so

provides several API functions for processing barcode images