zxing-cpp-3.1.1

Introduction to zxing-cpp

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

[Note]

Note

This version of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable version of the System V books.

Package Information

zxing-cpp dependencies

Required

CMake-4.4.2

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-author ..              &&
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