Versatile BetaBrite
LED Sign Control

Prerequisites

  • gcc
  • CMake
  • libusb-1.0 OR libusb-0.1. Be sure to install the "-dev" package!

Getting the Code

Get the latest Source Code from Git.

$ git clone https://git.sr.ht/~nickbp/bbusb

Building

CMake should automatically detect the presence of libusb-1.0 and/or libusb-0.1. If both are found, 1.0 is selected by default. If neither is found, the build falls back to a "nousb" mode where it just prints to stdout, which isnt terribly useful for most people.

Here's a step-by-step:

$ cd bbusb (where LICENCE is found)
$ mkdir build
$ cd build
$ cmake ../src (detects libusb and creates makefiles)
$ make

That should do it! Your executable will be found at build/bbusb. The build can optionally be configured with tools like "ccmake" and "cmake-gui".

Windows

This code should also work under Windows, provided that one sets up a Windows build environment with libusb-win32, which is equivalent to libusb-0.1.