Building JavaScript and WebAssembly ZXing on Windows

If you are looking for a barcode SDK for web development, the ideal outcome is to find a pure JavaScript SDK. The pure JavaScript SDK means JavaScript APIs do not rely on any server-side code. However, most of the barcode SDKs are written in C/C++ and Java. They do not have corresponding JavaScript editions. Meanwhile, JavaScript performance is also the bottleneck. Nowadays, with the advent of WebAssembly, all this will change. WebAssembly runs alongside JavaScript, providing with near-native performance in modern web browsers. In this post, let’s see how to build JavaScript and WebAssembly ZXing – the most popular open source barcode SDK – for developing web barcode apps on Windows.

Read more

Moving Chocolatey Packages with PowerShell

Last week, I built a package for Dynamsoft Barcode Reader using Chocolatey. One thing disappointed me that I can’t specify the installation directory if I don’t have a licensed Chocolatey edition. It means all packages will be installed to C:\ProgramData\chocolatey\lib. I do worry about my C drive storage spaces. Therefore, I decided to use PowerShell script moving Chocolatey packages. Although I’ve been a Windows user for many years, I never touched PowerShell before. What I’m going to do is to use PowerShell to move the package to a new location, remove the old package and register the destination directory to the environment path.

Read more

How to Create a Private Debian Repository with Reprepro

Last week, I built a Debian package for Dynamsoft Barcode Reader. Installing .deb file is apparently more efficient than using the .tar file on Linux OS based on Debian. Despite this, I believe most of Linux developers will give priority to the command-line package tool apt-get, unless the software repository is out of date. This is why I decided to create a private Debian repository to simplify the process of downloading and installing Dynamsoft Barcode Reader SDK for Linux.

Read more

Building Debian Package for Dynamsoft Barcode SDK

Dynamsoft Barcode Reader for Linux is released as a .tar.gz file. To use the barcode SDK, first, you have to download and extract the compressed package. Then, copy the shared libraries to /usr/lib folder or export the library search path. The process seems to be easy, but as a matter of fact, some developers who are new to Linux platform always suffer from the issue – shared library not found. To simplify the SDK installation and deployment, I decided to create a Debian package.

Read more