]>
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 | 9 | - A C++ compiler with C++11 support (-std=c++11 option), e.g. |
93cc1067 UH |
10 | - g++ (>= 4.8.1) |
11 | - clang++ (>= 3.3) | |
dd3b0532 | 12 | - make |
5164bbd9 | 13 | - libtool (only needed when building from git) |
dd3b0532 | 14 | - pkg-config >= 0.22 |
e222f01e | 15 | - cmake >= 2.8.12 |
dd3b0532 | 16 | - libglib >= 2.28.0 |
c18d0755 | 17 | - glibmm-2.4 (>= 2.28.0) |
5675292c | 18 | - Qt5 (>= 5.3), including the following components: |
7e5c8396 SA |
19 | - Qt5Core, Qt5Gui, Qt5Widgets, Qt5Svg, |
20 | Qt5LinguistTools (qttools5-dev, qttools5-dev-tools) | |
01db382f | 21 | - Qt translation package (optional; needed at runtime, not build time) |
d68d75c2 | 22 | - libboost >= 1.55 (including the following libs): |
dd3b0532 | 23 | - libboost-system |
7a2305bc | 24 | - libboost-filesystem |
f8cbea47 | 25 | - libboost-serialization |
e863bfad | 26 | - libboost-test (optional, only needed to run the unit tests) |
152a0b1b | 27 | - libboost-stacktrace (optional, only needed for debugging) |
1db57c03 | 28 | - libsigrokcxx >= 0.5.2 (libsigrok C++ bindings) |
9e633bf3 | 29 | - libsigrokdecode >= 0.5.2 |
c3904ef7 | 30 | - libsigrokandroidutils >= 0.1.0 (optional, only needed on Android) |
11fa8979 UH |
31 | - asciidoctor (optional, only needed to build the HTML manual) |
32 | - asciidoctor-pdf (optional, only needed to build the PDF manual) | |
dd3b0532 AG |
33 | |
34 | ||
35 | Building and installing | |
36 | ----------------------- | |
37 | ||
38 | In order to get the PulseView source code and build it, run: | |
39 | ||
40 | $ git clone git://sigrok.org/pulseview | |
41 | $ cd pulseview | |
42 | $ cmake . | |
43 | $ make | |
44 | ||
45 | For installing PulseView: | |
46 | ||
47 | $ make install | |
48 | ||
a5331e7a | 49 | See the following wiki page for more (OS-specific) instructions: |
dd3b0532 | 50 | |
a5331e7a | 51 | http://sigrok.org/wiki/Building |
dd3b0532 AG |
52 | |
53 | ||
54 | Creating a source distribution package | |
55 | -------------------------------------- | |
56 | ||
57 | In order to build a source package begin with an unconfigured source tree. | |
58 | ||
59 | $ mkdir dist | |
60 | $ cd dist | |
61 | $ cmake .. | |
62 | $ make package_source | |
a5331e7a | 63 | |
1894027b SA |
64 | |
65 | Generating the manual | |
66 | --------------------- | |
67 | ||
68 | To generate the HTML manual, you only need Asciidoctor. If you also want | |
69 | to generate the PDF manual, you need to install asciidoctor-pdf as well | |
70 | and make it available for execution: | |
71 | ||
72 | $ gem install --pre asciidoctor-pdf | |
73 | $ export PATH=~/.gem/ruby/2.3.0/bin:$PATH | |
74 | ||
75 | Then, to build the PulseView manual, run: | |
76 | ||
3cec89a3 | 77 | $ make manual |
1894027b SA |
78 | |
79 | Note: The stylesheet used is a lightly modified version of "Read The Docs" | |
80 | from the Asciidoctor stylesheet factory: | |
81 | https://asciidoctor.org/docs/user-manual/#stylesheet-factory |