Difference between revisions of "Linux"
Jump to navigation
Jump to search
Uwe Hermann (talk | contribs) m |
Uwe Hermann (talk | contribs) m |
||
Line 7: | Line 7: | ||
* git | * git | ||
* gcc | * gcc | ||
* libglib >= 2.0 | |||
* [http://www.libusb.org libusb] >= 1.0.5 | * [http://www.libusb.org libusb] >= 1.0.5 | ||
* libzip >= 0.8 | |||
* libzip | |||
* Qt + Qt Creator >= 4.5 (for building/editing the GUI) | * Qt + Qt Creator >= 4.5 (for building/editing the GUI) | ||
== Installing the build-dependencies == | |||
On most Linux distributions there are pre-built packages for the sigrok dependencies (if not, you have to build the packages from source). On Debian/Ubuntu for example, the installation is as simple as: | |||
$ '''apt-get install git-core gcc libglib2.0-dev libusb-1.0-0-dev libzip-dev qtcreator qt4-designer qt4-dev-tools libqt4-dev''' | |||
== Building == | == Building == |
Revision as of 03:15, 27 March 2010
This page describes how to build sigrok on Linux.
Requirements
- git
- gcc
- libglib >= 2.0
- libusb >= 1.0.5
- libzip >= 0.8
- Qt + Qt Creator >= 4.5 (for building/editing the GUI)
Installing the build-dependencies
On most Linux distributions there are pre-built packages for the sigrok dependencies (if not, you have to build the packages from source). On Debian/Ubuntu for example, the installation is as simple as:
$ apt-get install git-core gcc libglib2.0-dev libusb-1.0-0-dev libzip-dev qtcreator qt4-designer qt4-dev-tools libqt4-dev
Building
$ git clone git://sigrok.git.sourceforge.net/gitroot/sigrok/sigrok $ cd sigrok $ ./autogen.sh $ make $ make install
Then, for building the GUI:
$ cd frontends/gui $ qmake $ make