]> sigrok.org Git - libsigrok.git/blame_incremental - README
input: vcd: by default do not limit number of channels
[libsigrok.git] / README
... / ...
CommitLineData
1-------------------------------------------------------------------------------
2README
3-------------------------------------------------------------------------------
4
5The sigrok project aims at creating a portable, cross-platform,
6Free/Libre/Open-Source signal analysis software suite that supports various
7device types (such as logic analyzers, oscilloscopes, multimeters, and more).
8
9libsigrok is a shared library written in C which provides the basic API
10for talking to hardware and reading/writing the acquired data into various
11input/output file formats.
12
13
14Status
15------
16
17libsigrok is in a usable state and has had official tarball releases.
18
19While the API can change from release to release, this will always be
20properly documented and reflected in the package version number and
21in the shared library / libtool / .so-file version numbers.
22
23However, there are _NO_ guarantees at all for stable APIs in git snapshots!
24Distro packagers should only use released tarballs (no git snapshots).
25
26
27Requirements
28------------
29
30Requirements for the C library:
31
32 - git (only needed when building from git)
33 - gcc (>= 4.0) or clang
34 - make
35 - autoconf >= 2.63 (only needed when building from git)
36 - automake >= 1.11 (only needed when building from git)
37 - libtool (only needed when building from git)
38 - pkg-config >= 0.22
39 - libglib >= 2.32.0
40 - libzip >= 0.10
41 - libserialport >= 0.1.1 (optional, used by some drivers)
42 - librevisa >= 0.0.20130412 (optional, used by some drivers)
43 - libusb-1.0 >= 1.0.16 (optional, used by some drivers)
44 - libftdi >= 0.16 or libftdi1 >= 1.0 (optional, used by some drivers)
45 - libgpib (optional, used by some drivers)
46 - check >= 0.9.4 (optional, only needed to run unit tests)
47 - doxygen (optional, only needed for the C API docs)
48 - graphviz (optional, only needed for the C API docs)
49
50Requirements for the C++ bindings:
51
52 - libsigrok >= 0.3.0 (the libsigrok C library, see above)
53 - A C++ compiler with C++11 support (-std=c++11 option), e.g.
54 - g++ (>= 4.7)
55 - clang++ (>= 3.1)
56 - autoconf-archive (only needed when building from git)
57 - doxygen (required for building the bindings, not only for C++ API docs!)
58 - graphviz (optional, only needed for the C++ API docs)
59 - Python (2 or 3) executable (development files are not needed)
60 - glibmm-2.4 (>= 2.32.0)
61
62Requirements for the Python bindings:
63
64 - libsigrokcxx >= 0.3.0 (the libsigrok C++ bindings, see above)
65 - Python >= 2.7 or Python >= 3 (including development files!)
66 - Python setuptools (for Python 2 or 3)
67 - pygobject >= 3.0.0 (for Python 2 or 3), a.k.a python-gi
68 - numpy (for Python 2 or 3)
69 - SWIG >= 2.0.0
70 - doxygen (optional, only needed for the Python API docs)
71 - graphviz (optional, only needed for the Python API docs)
72 - doxypy (optional, only needed for the Python API docs)
73
74Requirements for the Ruby bindings:
75
76 - libsigrokcxx >= 0.3.0 (the libsigrok C++ bindings, see above)
77 - Ruby >= 1.9.3 (including development files!)
78 - SWIG >= 3.0.8
79 - YARD (optional, only needed for the Ruby API docs)
80
81Requirements for the Java bindings:
82
83 - libsigrokcxx >= 0.3.0 (the libsigrok C++ bindings, see above)
84 - SWIG >= 2.0.0
85 - Java JDK (for JNI includes and the javac/jar binaries)
86 - doxygen (optional, only needed for the Java API docs)
87 - graphviz (optional, only needed for the Java API docs)
88
89
90Building and installing
91-----------------------
92
93In order to get the libsigrok source code and build it, run:
94
95 $ git clone git://sigrok.org/libsigrok
96 $ cd libsigrok
97 $ ./autogen.sh
98 $ ./configure
99 $ make
100
101For installing libsigrok:
102
103 $ make install
104
105See INSTALL or the following wiki page for more (OS-specific) instructions:
106
107 http://sigrok.org/wiki/Building
108
109Please also check the following wiki page in case you encounter any issues:
110
111 http://sigrok.org/wiki/Building#FAQ
112
113
114Device-specific issues
115----------------------
116
117Please check README.devices for some notes and hints about device- or
118driver-specific issues to be aware of.
119
120
121Firmware
122--------
123
124Some devices supported by libsigrok need a firmware to be uploaded before the
125device can be used. See README.devices for details.
126
127
128Copyright and license
129---------------------
130
131libsigrok is licensed under the terms of the GNU General Public License
132(GPL), version 3 or later.
133
134While some individual source code files are licensed under the GPLv2+, and
135some files are licensed under the GPLv3+, this doesn't change the fact that
136the library as a whole is licensed under the terms of the GPLv3+.
137
138Please see the individual source files for the full list of copyright holders.
139
140
141Mailing list
142------------
143
144 https://lists.sourceforge.net/lists/listinfo/sigrok-devel
145
146
147IRC
148---
149
150You can find the sigrok developers in the #sigrok IRC channel on Freenode.
151
152
153Website
154-------
155
156 http://sigrok.org/wiki/Libsigrok
157