ZXing (C++)

siiky

2023/09/20

2023/09/20

2023/09/20

programming

"ZXing-C++ ("zebra crossing") is an open-source, multi-format linear/matrix barcode image processing library implemented in C++."

Simplified build instructions

For my simple use-case, working as of 94f838edcf870c267eadb7e27b09aa42a400dc5f.

CC=cc CXX=c++ cmake -S . -B zxing-cpp.release -DCMAKE_BUILD_TYPE=Release -DBUILD_WRITERS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_C_API=ON
cmake --build zxing-cpp.release -j4
cmake --install zxing-cpp.release --prefix $HOME/.local/