]>
Commit | Line | Data |
---|---|---|
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 | - Qt >= 4.5 | |
18 | - libboost >= 1.42 (including the following libs): | |
19 | - libboost-system | |
20 | - libboost-filesystem | |
21 | - libboost-thread | |
22 | - libboost-test (optional, only needed to run the unit tests) | |
23 | - libsigrokxx >= 0.3.0 (libsigrok C++ bindings) | |
24 | - libsigrokdecode >= 0.3.0 | |
25 | ||
26 | ||
27 | Building and installing | |
28 | ----------------------- | |
29 | ||
30 | In order to get the PulseView source code and build it, run: | |
31 | ||
32 | $ git clone git://sigrok.org/pulseview | |
33 | $ cd pulseview | |
34 | $ cmake . | |
35 | $ make | |
36 | ||
37 | For installing PulseView: | |
38 | ||
39 | $ make install | |
40 | ||
41 | See the following wiki page for more (OS-specific) instructions: | |
42 | ||
43 | http://sigrok.org/wiki/Building | |
44 | ||
45 | ||
46 | Creating a source distribution package | |
47 | -------------------------------------- | |
48 | ||
49 | In order to build a source package begin with an unconfigured source tree. | |
50 | ||
51 | $ mkdir dist | |
52 | $ cd dist | |
53 | $ cmake .. | |
54 | $ make package_source | |
55 |