The zxing-cpp package provides an open-source, multi-format linear/matrix barcode image processing library.
This package is known to build and work properly using an LFS 13.1 platform.
Download (HTTP): https://github.com/zxing-cpp/zxing-cpp/releases/download/v3.1.1/zxing-cpp-3.1.1.tar.gz
Download MD5 sum: 40092c87b4a87b2f46a54d1371866966
Download size: 1.6 MB
Estimated disk space required: 109 MB
Estimated build time: 0.1 SBU (Using parallelism=4)
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