Created
July 9, 2022 02:25
-
-
Save bgianfo/6dbfd5e71d95aa894c5061bfbfb374b9 to your computer and use it in GitHub Desktop.
sigrok local bootstrap + build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Based off of the notes for the Twinkie device located here: | |
# https://www.chromium.org/chromium-os/twinkie/build-sigrok-and-pulseview-from-sources/ | |
sudo apt-get install gcc g++ libtool automake autoconf libftdi-dev libusb-1.0-0-dev libglib2.0-dev check libzip-dev | |
sudo apt-get install libzip-dev libglibmm-2.4-dev doxygen python-gobject-dev swig3.0 libhidapi-dev libserialport-dev | |
sudo apt-get install qtbase5-dev qtbase5-dev-tools libqt5svg5-dev cmake | |
sudo apt-get install libboost-filesystem-dev libboost-serialization-dev | |
git clone git://sigrok.org/libsigrok | |
git clone git://sigrok.org/libsigrokdecode | |
git clone git://sigrok.org/sigrok-cli | |
git clone git://sigrok.org/pulseview | |
cd libsigrok | |
./autogen.sh | |
./configure --prefix=/usr | |
make install | |
cd ../libsigrokdecode/ | |
./autogen.sh | |
./configure --prefix=/usr | |
make install | |
cd ../sigrok-cli/ | |
./autogen.sh | |
./configure --prefix=/usr | |
make install | |
cd ../pulseview/ | |
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr . | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment