]>
Commit | Line | Data |
---|---|---|
1 | ------------------------------------------------------------------------------- | |
2 | INSTALL | |
3 | ------------------------------------------------------------------------------- | |
4 | ||
5 | Requirements | |
6 | ------------ | |
7 | ||
8 | - git (only needed when building from git) | |
9 | - A C++ compiler with C++11 support (-std=c++11 option), e.g. | |
10 | - g++ (>= 4.8.1) | |
11 | - clang++ (>= 3.3) | |
12 | - make | |
13 | - libtool (only needed when building from git) | |
14 | - pkg-config >= 0.22 | |
15 | - cmake >= 2.8.12 | |
16 | - libglib >= 2.28.0 | |
17 | - glibmm-2.4 (>= 2.28.0) | |
18 | - Qt5 (including the following components): | |
19 | - Qt5Core, Qt5Gui, Qt5Widgets, Qt5Svg | |
20 | - libboost >= 1.55 (including the following libs): | |
21 | - libboost-system | |
22 | - libboost-filesystem | |
23 | - libboost-serialization | |
24 | - libboost-test (optional, only needed to run the unit tests) | |
25 | - libsigrokcxx >= 0.6.0 (libsigrok C++ bindings) | |
26 | - libsigrokdecode >= 0.6.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 |