]>
Commit | Line | Data |
---|---|---|
a5331e7a UH |
1 | ------------------------------------------------------------------------------- |
2 | INSTALL | |
3 | ------------------------------------------------------------------------------- | |
4 | ||
dd3b0532 AG |
5 | Requirements |
6 | ------------ | |
7 | ||
5164bbd9 | 8 | - git (only needed when building from 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 | 12 | - make |
5164bbd9 | 13 | - libtool (only needed when building from git) |
dd3b0532 | 14 | - pkg-config >= 0.22 |
7ba41e7e | 15 | - cmake >= 2.8.6 |
dd3b0532 | 16 | - libglib >= 2.28.0 |
c3904ef7 UH |
17 | - Qt4 >= 4.5 or Qt5 (including the following components): |
18 | - Qt4: QtCore, QtGui, QtSvg | |
19 | - Qt5: Qt5Core, Qt5Gui, Qt5Widgets, Qt5Svg | |
06ef804f | 20 | - libboost >= 1.53 (including the following libs): |
dd3b0532 | 21 | - libboost-system |
7a2305bc | 22 | - libboost-filesystem |
2a21747e | 23 | - libboost-thread |
e863bfad | 24 | - libboost-test (optional, only needed to run the unit tests) |
68ef4b9d UH |
25 | - libsigrokcxx >= 0.4.0 (libsigrok C++ bindings) |
26 | - libsigrokdecode >= 0.4.0 | |
c3904ef7 | 27 | - libsigrokandroidutils >= 0.1.0 (optional, only needed on Android) |
dd3b0532 AG |
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 | ||
a5331e7a | 44 | See the following wiki page for more (OS-specific) instructions: |
dd3b0532 | 45 | |
a5331e7a | 46 | http://sigrok.org/wiki/Building |
dd3b0532 AG |
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 | |
a5331e7a | 58 |