Support
Wiki Documentation
Support Forum
Mobile
- Rocweb Browser
- WIO-Control ESP32
- andRoc Android
- Rocview Tablet
DIY
User
Wiki writer
Legal
Support
Wiki Documentation
Support Forum
Mobile
DIY
User
Wiki writer
Legal
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)
Pre-build packages (daily build) can be found here:
wget https://rocrail.net/software/rocrail-snapshot/rocrail-xxxxx-raspbian-stretch-armhf.deb
sudo apt install ./rocrail-xxxxx-raspbian-stretch-armhf.deb
Note: the "xxxxx" should be replaced with the wanted revision.
git clone <repository link>
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
A build can be shared by creating an install package:
cd rocrail ./mkdeb.sh wheezy armhf
Open the RasPi Configuration utility in a terminal:
sudo raspi-config
#include <stdio.h> int main() { #ifdef __arm__ printf("Why yes it is, thank you\n"); #endif return 0; }