Difference between revisions of "Building"

From sigrok
Jump to navigation Jump to search
(Created page with "This page documents the build requirements for the sigrok subprojects, and contains links to OS-specific instructions to build them from source. == Distribution packages and ...")
 
m
Line 13: Line 13:
* git
* git
* gcc (>= 4.0)
* gcc (>= 4.0)
* make
* autoconf >= 2.63
* autoconf >= 2.63
* automake >= 1.11
* automake >= 1.11
Line 19: Line 20:
** This is part of the standard [[OpenBSD]] install (not an extra package), apparently.
** This is part of the standard [[OpenBSD]] install (not an extra package), apparently.
* libglib >= 2.28.0
* libglib >= 2.28.0
* libusb-1.0
* libzip >= 0.8
* libusb-1.0 (optional, used by most drivers)
** On [[FreeBSD]], this is an integral part of the FreeBSD libc, not an extra package/library.
** On [[FreeBSD]], this is an integral part of the FreeBSD libc, not an extra package/library.
** This is part of the standard [[OpenBSD]] install (not an extra package), apparently.
** This is part of the standard [[OpenBSD]] install (not an extra package), apparently.
* libzip >= 0.8
* libftdi >= 0.16 (optional, used by some drivers)
* libftdi >= 0.16
* libudev >= 151 (optional, used by some drivers)
* libasound / alsa-lib >= 1.0 (optional, only used by the alsa driver)


=== libsigrokdecode ===
=== libsigrokdecode ===
Line 29: Line 32:
* git
* git
* gcc (>= 4.0)
* gcc (>= 4.0)
* make
* autoconf >= 2.63
* autoconf >= 2.63
* automake >= 1.11
* automake >= 1.11
Line 41: Line 45:
* git
* git
* gcc (>= 4.0)
* gcc (>= 4.0)
* make
* autoconf >= 2.63
* autoconf >= 2.63
* automake >= 1.11
* automake >= 1.11
Line 54: Line 59:
* git
* git
* g++
* g++
* make
* libtool
* libtool
* pkg-config >= 0.22
* pkg-config >= 0.22
Line 60: Line 66:
* libglib >= 2.28.0
* libglib >= 2.28.0
* Qt >= 4.5
* Qt >= 4.5
* libboost >= 1.45 (including the following libs)
* libboost >= 1.42 (including the following libs)
** libboost-sytem
** libboost-sytem
** libboost-thread
** libboost-thread
Line 72: Line 78:
* git
* git
* gcc (>= 4.0)
* gcc (>= 4.0)
* make
* autoconf >= 2.63
* autoconf >= 2.63
* automake >= 1.11
* automake >= 1.11
Line 78: Line 85:
** This is part of the standard [[OpenBSD]] install (not an extra package), apparently.
** This is part of the standard [[OpenBSD]] install (not an extra package), apparently.
* libglib >= 2.28.0
* libglib >= 2.28.0
* GTK+
* GTK+ >= 2.22.0
* libsigrok >= 0.1.0
* libsigrok >= 0.2.0


=== sigrok-qt ===
=== sigrok-qt ===
Line 87: Line 94:
* git
* git
* g++
* g++
* make
* libtool
* libtool
* pkg-config >= 0.22
* pkg-config >= 0.22

Revision as of 19:28, 2 February 2013

This page documents the build requirements for the sigrok subprojects, and contains links to OS-specific instructions to build them from source.

Distribution packages and binaries

See Downloads for distribution packages of the sigrok subprojects and binary builds for various OSes.

See the instructions below if you want to build from source.

Build requirements

libsigrok

  • git
  • gcc (>= 4.0)
  • make
  • autoconf >= 2.63
  • automake >= 1.11
  • libtool
  • pkg-config >= 0.22
    • This is part of the standard OpenBSD install (not an extra package), apparently.
  • libglib >= 2.28.0
  • libzip >= 0.8
  • libusb-1.0 (optional, used by most drivers)
    • On FreeBSD, this is an integral part of the FreeBSD libc, not an extra package/library.
    • This is part of the standard OpenBSD install (not an extra package), apparently.
  • libftdi >= 0.16 (optional, used by some drivers)
  • libudev >= 151 (optional, used by some drivers)
  • libasound / alsa-lib >= 1.0 (optional, only used by the alsa driver)

libsigrokdecode

  • git
  • gcc (>= 4.0)
  • make
  • autoconf >= 2.63
  • automake >= 1.11
  • libtool
  • pkg-config >= 0.22
    • This is part of the standard OpenBSD install (not an extra package), apparently.
  • libglib >= 2.24.0
  • Python >= 3.0

sigrok-cli

  • git
  • gcc (>= 4.0)
  • make
  • autoconf >= 2.63
  • automake >= 1.11
  • libtool
  • pkg-config >= 0.22
    • This is part of the standard OpenBSD install (not an extra package), apparently.
  • libglib >= 2.28.0
  • libsigrok >= 0.2.0
  • libsigrokdecode >= 0.1.0

PulseView

  • git
  • g++
  • make
  • libtool
  • pkg-config >= 0.22
    • This is part of the standard OpenBSD install (not an extra package), apparently.
  • cmake >= 2.6
  • libglib >= 2.28.0
  • Qt >= 4.5
  • libboost >= 1.42 (including the following libs)
    • libboost-sytem
    • libboost-thread
  • libsigrok >= 0.2.0
  • libsigrokdecode >= 0.1.0

sigrok-gtk

Note: The GTK+ GUI is not yet usable!

  • git
  • gcc (>= 4.0)
  • make
  • autoconf >= 2.63
  • automake >= 1.11
  • libtool
  • pkg-config >= 0.22
    • This is part of the standard OpenBSD install (not an extra package), apparently.
  • libglib >= 2.28.0
  • GTK+ >= 2.22.0
  • libsigrok >= 0.2.0

sigrok-qt

Note: The Qt GUI is not yet usable!

  • git
  • g++
  • make
  • libtool
  • pkg-config >= 0.22
    • This is part of the standard OpenBSD install (not an extra package), apparently.
  • libglib >= 2.28.0
  • Qt >= 4.5
  • libsigrok >= 0.2.0
  • libsigrokdecode >= 0.1.0

Building from source

See the OS-specific build instructions below if you want to build the sigrok subprojects from source: