CPUtil - Obtaining Binaries
Pre-built binaries
Pre-compiled binaries of cputil are provide with this SDK for common supported platforms.
Download Binaries
- Linux x64
- Linux Armv7/v8
- macOS x64 (10.14 or earlier)
- macOS x64 (10.15 or later)
- Windows x64
- Windows x86
Note
About macOS x64 environment, please extract zip archive and install by pkg installer.
Building from source
Developers may freely customize cputil, and build it from source as needed. It is a .NET Core 3.1 (V1.1.1 or earlier) / .NET 6.0 (V1.1.2 or later) Console application, provided as a project with the CloudPRNTSDKSamples solution that is included with the SDK. Cputil can be compiled with any platform that has a .NET Core 3.1 or later SDK available.
Source Repository: https://github.com/star-micronics/cloudprnt-sdk/tree/master/CloudPRNTSDKSamples
Example of build command: Below is an example of an Ubuntu environment
- Download the CloudPRNTSDKSamples project
- Open a terminal and run the following (change the contents of --version and -r as appropriate)
cd [Your Environment Path]/CloudPRNTSDKSamples/cputil
dotnet add package StarMicronics.CloudPRNT-Utility --version 1.1.2
dotnet publish -o package/cputil-linux-x64 -c Release -r linux-x64
After running the above, the pre-built cputil binaries are stored under the package/cputil-linux-x64 folder.