Menu

Building On Raspberry Pi

Silas Parker

Building XRF Config on Raspberry Pi

  1. Backup your SD card or put a clean Raspbian image on the card and configure it

  2. Upgrade to Debian Jessie
    a. Edit /etc/apt/sources.list

    sudo nano /etc/apt/sources.list
    

    b. Change wheezy to jessie in the configuration line

    deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
    

    c. Save and exit from the file
    d. Run the following upgrade commands, this will take a long time:

    sudo apt-get update
    sudo apt-get dist-upgrade
    sudo reboot
    
  3. Install the packages for building:

    sudo apt-get install qt5-default 'libqt5.*' build-essential subversion
    
  4. Checkout the source code:

    svn checkout svn://svn.code.sf.net/p/xrfconfig/code/trunk xrfconfig
    
  5. Build:

    cd xrfconfig/build
    qmake ../source
    make
    ./xrfconfig
    

Related

Wiki: Home