]> sigrok.org Git - pulseview.git/blame_incremental - INSTALL
Add setting for the snap-to-edge distance
[pulseview.git] / INSTALL
... / ...
CommitLineData
1-------------------------------------------------------------------------------
2INSTALL
3-------------------------------------------------------------------------------
4
5Requirements
6------------
7
8 - git (only needed when building from git)
9 - A C++ compiler with C++11 support (-std=c++11 option), e.g.
10 - g++ (>= 4.8.1)
11 - clang++ (>= 3.3)
12 - make
13 - libtool (only needed when building from git)
14 - pkg-config >= 0.22
15 - cmake >= 2.8.12
16 - libglib >= 2.28.0
17 - glibmm-2.4 (>= 2.28.0)
18 - Qt5 (including the following components):
19 - Qt5Core, Qt5Gui, Qt5Widgets, Qt5Svg
20 - libboost >= 1.55 (including the following libs):
21 - libboost-system
22 - libboost-filesystem
23 - libboost-serialization
24 - libboost-test (optional, only needed to run the unit tests)
25 - libsigrokcxx >= 0.6.0 (libsigrok C++ bindings)
26 - libsigrokdecode >= 0.6.0
27 - libsigrokandroidutils >= 0.1.0 (optional, only needed on Android)
28 - Asciidoctor (optional, only needed to build the manual)
29
30
31Building and installing
32-----------------------
33
34In order to get the PulseView source code and build it, run:
35
36 $ git clone git://sigrok.org/pulseview
37 $ cd pulseview
38 $ cmake .
39 $ make
40
41For installing PulseView:
42
43 $ make install
44
45See the following wiki page for more (OS-specific) instructions:
46
47 http://sigrok.org/wiki/Building
48
49
50Creating a source distribution package
51--------------------------------------
52
53In order to build a source package begin with an unconfigured source tree.
54
55 $ mkdir dist
56 $ cd dist
57 $ cmake ..
58 $ make package_source
59
60
61Generating the manual
62---------------------
63
64To generate the HTML manual, you only need Asciidoctor. If you also want
65to generate the PDF manual, you need to install asciidoctor-pdf as well
66and make it available for execution:
67
68 $ gem install --pre asciidoctor-pdf
69 $ export PATH=~/.gem/ruby/2.3.0/bin:$PATH
70
71Then, to build the PulseView manual, run:
72
73 $ cd manual
74 $ ./generate
75
76Note: The stylesheet used is a lightly modified version of "Read The Docs"
77from the Asciidoctor stylesheet factory:
78https://asciidoctor.org/docs/user-manual/#stylesheet-factory