- Windows x86/x64
- Linux x64/ARM64
- macOS x64
- Raspberry Pi ARMv7
Set the license key in BarcodeReader.cxx
:
DBR_InitLicense(reader, "LICENSE-KEY");
-
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
For
MinGW
:cmake -G "MinGW Makefiles" ..
-
Run the app:
Release\BarcodeReader [image-file] [optional: license-file] [optional: template-file]
- Install CMake:
sudo apt-get install cmake
- Create a build folder:
mkdir build cd build
- Configure and build the project:
cmake .. # cmake -DARM32_BUILD=TRUE .. cmake --build . --config release
- Run the app:
./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
-
Run the app:
./BarcodeReader [image-file] [optional: license-file] [optional: template-file]