README 4.7 KB

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