Command line C++ barcode reader for Windows, Linux, and macOS.
v9.6.40
Apply for a 30-day free trial license.
Set the license key in BarcodeReader.cxx
:
DBR_InitLicense(license, errorMsgBuffer, 512);
Create a build folder:
mkdir build
cd build
Configure and build the project:
// x86
cmake -DCMAKE_GENERATOR_PLATFORM=x86 ..
// x64
cmake -DCMAKE_GENERATOR_PLATFORM=x64 ..
cmake --build . --config release
cmake --install .
For MinGW
:
cmake -G "MinGW Makefiles" ..
Run the app:
.\Release\BarcodeReader.exe [image-file] [optional: license-file] [optional: template-file]
sudo apt-get install cmake
mkdir build
cd build
cmake ..
# cmake -DARM32_BUILD=TRUE ..
cmake --build . --config release
cmake --install .
./BarcodeReader [image-file] [optional: license-file] [optional: template-file]
Install CMake:
brew install cmake
Create a build folder:
mkdir build
cd build
Configure and build the project:
cmake ..
cmake --build . --config release
cmake --install .
Run the app:
./BarcodeReader [image-file] [optional: license-file] [optional: template-file]