]> sigrok.org Git - pulseview.git/blob - INSTALL
CursorPair: Paint with ViewItem::paint_fore/paint_back
[pulseview.git] / INSTALL
1 -------------------------------------------------------------------------------
2 INSTALL
3 -------------------------------------------------------------------------------
4
5 Requirements
6 ------------
7
8  - git
9  - A C++ compiler with C++11 support (-std=c++11 option), e.g.
10    - g++ (>= 4.7)
11    - clang++ (>= 3.1)
12  - make
13  - libtool
14  - pkg-config >= 0.22
15  - cmake >= 2.8.6
16  - libglib >= 2.28.0
17  - Qt4 >= 4.5 or Qt5 (including the following components):
18     - Qt4: QtCore, QtGui, QtSvg
19     - Qt5: Qt5Core, Qt5Gui, Qt5Widgets, Qt5Svg
20  - libboost >= 1.42 (including the following libs):
21     - libboost-system
22     - libboost-filesystem
23     - libboost-thread
24     - libboost-test (optional, only needed to run the unit tests)
25  - libsigrokxx >= 0.3.0 (libsigrok C++ bindings)
26  - libsigrokdecode >= 0.3.0
27  - libsigrokandroidutils >= 0.1.0 (optional, only needed on Android)
28
29
30 Building and installing
31 -----------------------
32
33 In order to get the PulseView source code and build it, run:
34
35  $ git clone git://sigrok.org/pulseview
36  $ cd pulseview
37  $ cmake .
38  $ make
39
40 For installing PulseView:
41
42  $ make install
43
44 See the following wiki page for more (OS-specific) instructions:
45
46  http://sigrok.org/wiki/Building
47
48
49 Creating a source distribution package
50 --------------------------------------
51
52 In order to build a source package begin with an unconfigured source tree.
53
54  $ mkdir dist
55  $ cd dist
56  $ cmake ..
57  $ make package_source
58