Wiki

This version (04 Mar 2016 16:40) was approved by Robin Getz.The Previously approved version (26 Mar 2015 21:54) is available.Diff

Building Pixelpulse

Linux

To build from source on Linux with an appropriate C++ compiler and libraries:

  1. Install LibUSB
    • On debian installations that would be something like:

      root user on the host

      root@raspberrypi:/home/pi/git# apt-get install libusb-1.0-0-dev libudev-dev
      

  2. Install Qt5.4
    • On debian installations that would be something like:

      root user on the host

      root@raspberrypi:/home/pi/git# apt-get install qtbase5-dev qtdeclarative5-dev
      

  3. Check out PixelPulse:

    root user on the host

    git clone --recursive https://github.com/signalspec/pixelpulse2
    

  4. Go into that directory, and make a build directory.

    root user on the host

    root@raspberrypi:/home/pi# cd pixelpulse2
    root@raspberrypi:/home/pi/pixelpulse2# mkdir build
    root@raspberrypi:/home/pi/pixelpulse2# cd build
    root@raspberrypi:/home/pi/pixelpulse2/build# 
    

  5. make the project
    • Before you can make things, you need to check out your version of qmake. You will get one of these results:
      1. If you get this, you are good to go

        root user on the host

        root@raspberrypi:/home/pi/pixelpulse2/build# qmake --version
        QMake version 3.0
        Using Qt version 5.1.1 in /usr/lib64
        

        .

      2. If you get this, you will need to use qmake-qt5, rather than qmake below. (on Opensuse 13.1)

        root user on the host

        root@raspberrypi:/home/pi/pixelpulse2/build# qmake --version
        QMake version 2.01a
        Using Qt version 4.8.5 in /usr/lib64
        

      3. If you get this, you need to set the env var:

        root user on the host

        root@raspberrypi:/home/pi/pixelpulse2/build# qmake ..
        qmake: could not exec '/usr/lib/arm-linux-gnueabihf/qt4/bin/qmake': No such file or directory
        root@raspberrypi:/home/pi/pixelpulse2/build# export QT_SELECT=5
        root@raspberrypi:/home/pi/pixelpulse2/build# qmake --version
        QMake version 3.0
        

    • Now you are ready to b build things

      root user on the host

      root@raspberrypi:/home/pi/pixelpulse2/build# qmake ..
      make
      ./pixelpulse2
      

    • root user on the host

      root@raspberrypi:/home/pi/pixelpulse2/build# qmake ..
      make
      ./pixelpulse2
      

university/tools/m1k/pixelpulse/build.txt · Last modified: 04 Mar 2016 16:40 by Robin Getz