Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.39 KB

BUILDING.md

File metadata and controls

41 lines (26 loc) · 1.39 KB

Building

Requirements

Dependencies:

- libusb
- pkg-config

On Linux, a couple of additional dependencies must be installed:

- libxcb-render0-dev
- libxcb-shape0-dev
- libxcb-xfixes0-dev
- libspeechd-dev
- libxkbcommon-dev

USB access is provided via the rusb crate, which uses pkg-config to locate the libusb sources. Make sure the sources are in a location where pkg-config can find them.

Mac Application Bundle (optional)

To build a macOS application bundle, additional dependencies must be installed:

Run ./build-mac-bundle.sh from the project directory. Make sure the script has executable permissions. The bundle will be created in the ./target/release/bundle/osx directory.

Linux AppImage (optional)

To build an AppImage for Linux, additional dependencies must be installed:

Run ./build-linux-appimage.sh from the project directory. Make sure the script has executable permissions. The AppImage will be created in the ./target/release/appimage directory.