- Visual Studio
- CMake
- Dynamsoft Barcode Reader v8.1 C/C++ Package (Windows x86/x64, Linux x64/ARM64, macOS x64 and Raspberry Pi ARMv7)
Get a trial license and set the license key in BarcodeReader.cxx
:
reader.InitLicense("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
- 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]