Distributed software compilation for the Raspberry Pi

Conclusion

Getting my Arduino 101/Panda3D program running flawlessly on the Rasp Pi has been a big deal for me. I sort of managed to start Panda3D compiling on the Pi, but as mentioned elsewhere, taking days and finally locking up completely was … er … suboptimal.

When I solved the compile problems inherent to the Rasp Pi thanks to distcc (and what a great technology that is), I sort of got my program to work, but only at a jerky 10fps, with terrible lag and continuous crashes.

Once I stumbled on Egenhofer's guide, everything sorted itself out: I managed a smooth, error-free compile, and I got a buttery responsive animation from my program when I waved around my Arduino 101.

The lesson I'm taking away from the whole experience is this: The Rasp Pi is way more powerful than you think – just not for everything. That said, the open source community usually finds a way and provides free tools and wise guidance to overcome nearly every problem you might face.

And that's what makes it such a joy.

Infos

  1. Raspberry Pi tool chain: https://github.com/raspberrypi/tools
  2. The Qemu virtualizer: http://wiki.qemu.org/Main_Page
  3. The distcc compile distributor: https://github.com/distcc/distcc
  4. "Arduino 101" by Paul Brown, Raspberry Pi Geek, issue 16, 2016, pg. 20, http://www.raspberry-pi-geek.com/Archive/2016/16/Exploring-the-new-Arduino-Genuino-101
  5. Panda3D: https://www.panda3d.org
  6. Thomas Egenhofer's guide to installing Panda3D on the RPi: https://www.panda3d.org/forums/viewtopic.php?f=6&t=18214
  7. Arduino 101: https://www.arduino.cc/en/Main/ArduinoBoard101
  8. Watch the demo: https://youtu.be/G9cF04Os2YM

Buy this article as PDF

Express-Checkout as PDF

Pages: 8

Price $2.95
(incl. VAT)

Buy Raspberry Pi Geek

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Exploring the new Arduino/Genuino 101

    The Arduino 101 only costs $30, but it packs quite a bit more than your regular Arduino board. Learn about the 101's specs and how you can use its onboard gyroscope with a fun, 3D project.

  • Building Raspberry Pi programs on a traditional PC

    The Raspberry Pi is a smart little machine, but you might find it easier to write programs on another computer then copy them to the Raspberry Pi afterwards.

  • Welcome

    Just more than four years ago the first Raspberry Pi was released to overwhelming response. Many people had to wait for their first-generation Pi while production was ramped up to meet the demand. Now you have an entire array of Pis from which to choose, and demand is still so high that you might have to wait for your computer on backorder immediately after a new model is released. Moreover, the quad-core Raspberry Pi 3 has broadened the possibilities of what you can accomplish with the little nanocomputer.

  • Create amazing Pi apps without writing code

    Create super easy Pi programs to turn on lights, speak to you, or control motors.

  • Graphical, Scratch-like programming languages for Arduino

    Getting a handle on Arduino boards can be difficult. Luckily, quite a few block-based, Scratch-like programming environments are at hand that make the learning curve easier to climb.