The openambit source repository consists of several parts. Each part is briefly described below. Most people would like to use both the device communication library (libambit) and the GUI (openambit).
The build / install scripts described below make your life easier if you are like most people. You can choose to run the GUI from the build folder or install it to your system.
Builds libambit and openambit in one command
$ cd YOUR/git/REPO/location $ ./build.sh
Build and install script
Builds and install libambit and openambit in one command. Note that the script will try to run sudo to install things.
$ cd YOUR/git/REPO/location $ ./install.sh
To be able to build libambit and openambit the following libraries
(and their header files) need to be available:
For debian-based systems:
$ sudo apt-get install libudev-dev libusb-1.0-0-dev libqjson-dev
The “driver” library as a shared object. Written in C.
$ mkdir libambit-build $ cd libambit-build $ cmake ../src/libambit $ make Optionally: $ sudo make install
The GUI application. Uses the libambit library.
First build libambit as instructed above
$ mkdir openambit-build $ cd openambit-build $ cmake ../src/openambit $ make Optionally: $ sudo make install
Run the application without installing:
$ cd openambit-build $ LD_LIBRARY_PATH=../libambit-build ./openambit
For Ubuntu users
*buntu users can install prebuilt packets from our PPA at launchpad.
$ sudo apt-add-repository ppa:openambit/ppa $ sudo apt-get update $ sudo apt-get install openambit