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.0 platform.
Download (HTTP): https://github.com/zxing-cpp/zxing-cpp/releases/download/v3.0.1/zxing-cpp-3.0.1.tar.gz
Download MD5 sum: 2f15b1830da22da405ac03ac57ee39c1
Download size: 1.5 MB
Estimated disk space required: 85 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-dev .. &&
make
Tests require an external package, googletest.
Now, as the root user:
make install