All Projects β†’ yushulx β†’ cmake

yushulx / cmake

Licence: MIT, Unknown licenses found Licenses found MIT LICENSE Unknown license-key.txt
Command line C++ barcode reader for Windows, Linux, and macOS.

Programming Languages

c
50402 projects - #5 most used programming language
C++
36643 projects - #6 most used programming language
CMake
9771 projects

Projects that are alternatives of or similar to cmake

javascript-barcode
Dynamsoft Barcode Reader JavaScript SDK for package managers. PDF417, QR Code, DataMatrix, MaxiCode and more are supported.
Stars: ✭ 142 (+283.78%)
Mutual labels:  barcode-reader
barcode-detector
Spec compliant polyfill of the Barcode Detection API 🀳
Stars: ✭ 31 (-16.22%)
Mutual labels:  barcode-reader
barcode scan2
[reborned barcode_scan] A flutter plugin for reading 2D barcodes and QR codes.
Stars: ✭ 43 (+16.22%)
Mutual labels:  barcode-reader
ai barcode
Barcode generation,Barcode scanning,qrcode,qrcode generation,qrcode creator,flutter barcode,flutter qrcode,support android iOS web platform
Stars: ✭ 99 (+167.57%)
Mutual labels:  barcode-reader
BarcodeReader
Simple multi-format barcode reader for Windows
Stars: ✭ 26 (-29.73%)
Mutual labels:  barcode-reader
MobileApp
ι›»θ»ŠLCDγ‚’ε†ηΎγ—γŸγ‚Ήγƒžγƒ›γ‚’γƒ—γƒͺ
Stars: ✭ 14 (-62.16%)
Mutual labels:  native-app

Building C/C++ Barcode Reader with CMake

SDK Version

v9.2

SDK Activation

Apply for a 30-day free trial license.

Supported Platforms

  • Windows x64
  • Linux x64/ARM64
  • macOS x64
  • Raspberry Pi ARMv7

Setting License

Set the license key in BarcodeReader.cxx:

DBR_InitLicense(license, errorMsgBuffer, 512);

Windows

  1. Create a build folder:

    mkdir build
    cd build
    
  2. 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" ..
  3. Run the app:

    .\Release\BarcodeReader.exe [image-file] [optional: license-file] [optional: template-file]
    

Linux and Raspberry Pi OS

  1. Install CMake:
    sudo apt-get install cmake
  2. Create a build folder:
    mkdir build
    cd build
    
  3. Configure and build the project:
    cmake ..
    # cmake -DARM32_BUILD=TRUE ..
    cmake --build . --config release 
    cmake --install .
  4. Run the app:
    ./BarcodeReader [image-file] [optional: license-file] [optional: template-file]
    

macOS

  1. Install CMake:

    brew install cmake
  2. Create a build folder:

    mkdir build
    cd build
    
  3. Configure and build the project:

    cmake ..
    cmake --build . --config release 
    cmake --install .
  4. Run the app:

    ./BarcodeReader [image-file] [optional: license-file] [optional: template-file]
    

Screenshot

Raspberry Pi Barcode Reader

Reference

Blog

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].