Install additional packages

sudo apt-get install libwxgtk3.0-dev
sudo apt-get install libusb-1.0-0-dev

The wxWidgets library, libwxgtk3.0-dev, is only needed if Rocview should be build too. (Approximately total build time is < 10 minutes under Jessie on a Raspberry Pi 3)

Install pre-build package

Pre-build packages can be found here:


wget https://launchpad.net/rocrail/sunrise/2.0/+download/rocrail-xxxxx-linuxarmhf-wx3.0-armhf.deb


sudo dpkg -i rocrail-xxxxx-wheezy-armhf.deb
Note: the “xxxxx” should be replaced with the wanted revision.

Build from source

Attention ! You need the web-address and password distributed by Rob !

Get the source

git clone ... (http://forum.rocrail.net/viewtopic.php?f=7&t=10092)


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.


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


sudo make install 

Optional distribution package

A build can be shared by creating an install package:

cd rocrail 
./mkdeb.sh wheezy armhf 


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");
  return 0;


Personal Tools