raspi:raspi-dev-en
Table of Contents
RasPi
Install pre-build package
Pre-build packages (daily build) can be found here:
Download
wget https://rocrail.net/software/rocrail-snapshot/rocrail-xxxxx-raspbian-stretch-armhf.deb
Package install
sudo apt install ./rocrail-xxxxx-raspbian-stretch-armhf.deb
Note: the "xxxxx" should be replaced with the wanted revision.
Build from source
Get the source
git clone <repository link>
Make
cd ~/Rocrail make fromtar
Note: Use the-j 4
make option to use all for cores of the Raspberry Pi version 2.
If wxWidgets is not installed the build process will end at the start of compiling Rocview.
Just ignore the errors if you are interested in the Rocrail Server only.
Update
With the following command the sources can be updated:
cd ~/Rocrail git reset --hard git pull
Use the following command to rebuild Rocrail:
cd ~/Rocrail make fromtar
Or to rebuild the Rocrail Server only:
cd ~/Rocrail make fromtar server
Install
sudo make install
Optional distribution package
A build can be shared by creating an install package:
cd rocrail ./mkdeb.sh wheezy armhf
Documentation
Configuration Tips
Open the RasPi Configuration utility in a terminal:
sudo raspi-config
Network & WiFi
Programming Tips
Detecting ARM
#include <stdio.h> int main() { #ifdef __arm__ printf("Why yes it is, thank you\n"); #endif return 0; }
raspi/raspi-dev-en.txt · Last modified: 2022/12/10 18:18 by rjversluis