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