[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] problem compiling raspberry pi 2



Hi Stelios,

I did briefly have SC 3.7 working on the Raspberry Pi 2, but didn't fool around with it much... need to get back to that soon. I believe I had some luck with David Runge's package for Arch Linux (https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=supercollider-git). 

It's very possible that I had a different kernel or GCC version at the time. I do remember having troubles when using Raspbian; with Arch it was easier to find more up-to-date packages.

The flags in David's package look very slightly different (neon instead of neon-vfpv4). I have no idea why that would make a difference, but you could give it a try.

    -DCMAKE_C_FLAGS="-march=armv7-a -mtune=cortex-a8 -mfloat-abi=hard -mfpu=neon" \
    -DCMAKE_CXX_FLAGS="-march=armv7-a -mtune=cortex-a8 -mfloat-abi=hard -mfpu=neon"

One other thing worth mentioning is that Sonic Pi comes with Raspbian Jessie (probably not Jessie Lite) - I think it uses scsynth, and would be surprised if it doesn't work on the Pi 2.

Good luck,
Brian

On Sun, Nov 29, 2015 at 2:03 PM, stelios manousakis <steliosm@xxxxxxxxxxxxxxxx> wrote:
Hi Michael,

Headless SC is not a challenge on the RPi1. 

On the RPi2, with Jessie Lite, I installed supercollider 3.6.6 which was unsurprisingly not working, first because of QT ("QPixmap: Cannot create a QPixmap when no GUI is being used"). I found a related thread pointing here:
So, I did: sudo apt-get install xvfb
And could start sclang with this:

/usr/bin/xvfb-run --server-args="-screen 0, 1280x800x24" /usr/bin/sclang "$@"


Sclang was working fine, but the server wouldn't start (I think because of old jack version). 



I'm not sure if anyone has managed to get SC working properly on the RPi2. I guess I should probably try 3.6.6 again, and compile a newer jack, see if that works…


Best,

Stelios


On Sun, Nov 29, 2015 at 7:53 PM, Michael Zacherl <sdiy-mz01@xxxxxxxxxxxxx> wrote:
Hi Stelios,  ;)

> (trying to build a headless system)

for now just a quick note:
regarding headless systems would this be an issue on a later stage, or how would you approach this?
https://github.com/supercollider/supercollider/issues/1736

m.
 
*********************** ***********************
Stelios Manousakis
Composer, performer, sound artist, researcher
Co-founder & artistic co-director for Modern Body Festival
www.modularbrains.net
http://soundcloud.com/modularbrains
https://soundcloud.com/centernodistractor
*********************** ***********************