Skip to content

dynamsoft-dbr/linux-swift-4.0-barcode-reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swift Barcode Reader for Linux

Build a command line barcode reader in Swift and C on Linux.

Environment

How to Build and Run

  1. Copy libDynamsoftBarcodeReaderx64.so to /usr/lib/:

    sudo cp <Your PATH>/libDynamsoftBarcodeReaderx64.so /usr/lib/libDynamsoftBarcodeReader.so
    
  2. Compile C file with gcc:

    gcc -c dbr.c
    
  3. Compile Swift file with swiftc:

    swiftc -import-objc-header dbr.h barcode.swift dbr.o -o barcode -lDynamsoftBarcodeReader
    
    
  4. Run the test app:

    ./barcode test.tif
    

    swift barcode reader

Blog

Building Swift Barcode Reader with DBR 5.2 for Linux

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published