]>
Commit | Line | Data |
---|---|---|
a5331e7a UH |
1 | ------------------------------------------------------------------------------- |
2 | INSTALL | |
3 | ------------------------------------------------------------------------------- | |
4 | ||
dd3b0532 AG |
5 | Requirements |
6 | ------------ | |
7 | ||
8 | - git | |
9a5624cf UH |
9 | - A C++ compiler with C++11 support (-std=c++11 option), e.g. |
10 | - g++ (>= 4.7) | |
11 | - clang++ (>= 3.1) | |
dd3b0532 AG |
12 | - make |
13 | - libtool | |
14 | - pkg-config >= 0.22 | |
7ba41e7e | 15 | - cmake >= 2.8.6 |
dd3b0532 AG |
16 | - libglib >= 2.28.0 |
17 | - Qt >= 4.5 | |
18 | - libboost >= 1.42 (including the following libs): | |
19 | - libboost-system | |
7a2305bc | 20 | - libboost-filesystem |
2a21747e | 21 | - libboost-thread |
e863bfad | 22 | - libboost-test (optional, only needed to run the unit tests) |
321ce42a | 23 | - libsigrokxx >= 0.3.0 (libsigrok C++ bindings) |
ab186d22 | 24 | - libsigrokdecode >= 0.3.0 |
dd3b0532 AG |
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 | ||
a5331e7a | 41 | See the following wiki page for more (OS-specific) instructions: |
dd3b0532 | 42 | |
a5331e7a | 43 | http://sigrok.org/wiki/Building |
dd3b0532 AG |
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 | |
a5331e7a | 55 |