From 90bc17a2f00e744f81f5d18c2ad0a2939ea7b732 Mon Sep 17 00:00:00 2001 From: Chris Esposito Date: Mon, 15 Nov 2021 15:16:06 +1100 Subject: [PATCH] FFTW3 added to Raspberry Pi build script --- labrador_bootstrap_pi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/labrador_bootstrap_pi b/labrador_bootstrap_pi index c267cdc9..254f258a 100755 --- a/labrador_bootstrap_pi +++ b/labrador_bootstrap_pi @@ -5,14 +5,17 @@ dpkg -s qt5-default QT5_NOT_INSTALLED=$? dpkg -s libusb-1.0-0-dev LIBUSB_NOT_INSTALLED=$? +dpkg -s libfftw3-dev +FFTW_NOT_INSTALLED=$? # We don't want to bail if one of the first 4 lines returns error. That's what they're meant to do! set -e -if [ $QT5_NOT_INSTALLED != 0 ] || [ $LIBUSB_NOT_INSTALLED != 0 ]; then +if [ $QT5_NOT_INSTALLED != 0 ] || [ $LIBUSB_NOT_INSTALLED != 0 ] || $FFTW_NOT_INSTALLED != 0 ]; then sudo apt-get update sudo apt-get install qt5-default sudo apt-get install libusb-1.0-0-dev + sudo apt-get install -y libfftw3-dev else echo "Prerequesites are already installed. Skipping step." fi