Replies: 5 comments 4 replies
-
Oh, I see this has already been raised (#37 ). Is there any update on this proposal? |
Beta Was this translation helpful? Give feedback.
-
Hi, I just managed to compile and install Serial Studio on a Raspberry Pi virtual machine. I have also created a simple install script that automatically:
After the script finishes executing, the application can be launched by typing Script#!/bin/bash
#
# Stop script execution if any error occurs
#
set -e
#-----------------------------------------------------------------------
# Install build dependencies
#-----------------------------------------------------------------------
clear
echo "/------------------------------------------------------------"
echo "/ Updating apt cache..."
echo "/------------------------------------------------------------"
echo ""
# Update package cache
sudo apt update
clear
echo "/------------------------------------------------------------"
echo "/ Install git & C++ build tools..."
echo "/------------------------------------------------------------"
echo ""
sudo apt install git \
build-essential
clear
echo "/------------------------------------------------------------"
echo "/ Install Qt5 development packages..."
echo "/------------------------------------------------------------"
echo ""
sudo apt install qt5-qmake \
qt5-default \
qtbase5-dev \
libqt5svg5-dev \
qtdeclarative5-dev \
libqt5serialport5-dev \
qtquickcontrols2-5-dev
clear
echo "/------------------------------------------------------------"
echo "/ Install required QML modules.."
echo "/------------------------------------------------------------"
echo ""
sudo apt install qml-module-qtquick2 \
qml-module-qtquick-window2 \
qml-module-qtquick-layouts \
qml-module-qt-labs-settings \
qml-module-qt-labs-platform \
qml-module-qtquick-controls \
qml-module-qtquick-controls2
#-----------------------------------------------------------------------
# Clone Serial Studio repo
#-----------------------------------------------------------------------
clear
echo "/------------------------------------------------------------"
echo "/ Downloading Serial Studio source code..."
echo "/------------------------------------------------------------"
echo ""
git clone --recursive https://github.com/serial-studio/serial-studio.git
#-----------------------------------------------------------------------
# Build Serial Studio
#-----------------------------------------------------------------------
clear
echo "/------------------------------------------------------------"
echo "/ Building Serial Studio..."
echo "/------------------------------------------------------------"
echo ""
cd serial-studio
mkdir build
cd build
qmake ../ CONFIG+=release DEFINES+=SERIAL_STUDIO_SOFTWARE_RENDERING
make
#-----------------------------------------------------------------------
# Install Serial Studio
#-----------------------------------------------------------------------
clear
echo "/------------------------------------------------------------"
echo "/ Installing Serial Studio..."
echo "/------------------------------------------------------------"
echo ""
sudo make install
#-----------------------------------------------------------------------
# Delete source code
#-----------------------------------------------------------------------
clear
echo "/------------------------------------------------------------"
echo "/ Removing source code directory..."
echo "/------------------------------------------------------------"
echo ""
cd ..
cd ..
rm -rf serial-studio
#-----------------------------------------------------------------------
# Run Serial Studio
#-----------------------------------------------------------------------
clear
echo "/------------------------------------------------------------"
echo "/ Executing Serial Studio..."
echo "/------------------------------------------------------------"
echo ""
serial-studio Steps to run the script
chmod +x serial-studio-install.sh
./serial-studio-install.sh Here is a screenshot of the terminal commands required to execute the script: After running the script, you might be promoted to introduce your password to install the build dependencies. Also, make sure to type After installing dependencies, the script shall download the latest commit from GitHub & begin compiling Serial Studio. This might take a while depending on your hardware setup. If everything goes ok, you should be able to see a Serial-Studio window at the end of the installation process: Please let me know if this helps you, happy new year btw! |
Beta Was this translation helpful? Give feedback.
-
I thought I'd give this a go. There is a slight problem with qt5-default. It doesn't seem to be in the current repo so will throw up an error. After a bit of googling about using the code below solves it
I just removed the reference to the qt5-default from the script (for now) and it built fine. Its running nicely on a RPi 3 with and old slow SD card and is receiving data fine. Nice job Alex |
Beta Was this translation helpful? Give feedback.
-
everything was running fine until this code appeared while compiling was in progress what's the solution? |
Beta Was this translation helpful? Give feedback.
-
Thanks for the Script i fixed it replacing the qt-5 lines and it start to install, as suggested but unfortunately now is giving me a Bluetooth error, any idea how to fix or at least skip it ? |
Beta Was this translation helpful? Give feedback.
-
I'm not an expert so this may be a dumb question, but can Serial-Studio be installed on a Raspberry Pi? I see there is a Linux App Image but I don't think that would work on the Raspberry chip would it? I also have no experience with Qt so no idea if that is an option on Raspberry pi.
I would love to use this if it can be!
Beta Was this translation helpful? Give feedback.
All reactions