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

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



Hi!
Please keep us posted on this. Several of us are interested in SC on ARM single board computers.

Cheers,
Ivan

On Dec 1, 2015, at 12:10 PM, stelios manousakis <steliosm@xxxxxxxxxxxxxxxx> wrote:

Hi Brian,

Thanks a lot for your message - I'd seen an old post from you on the list and I was wondering if and how you made SC run. Perhaps I should give Arch a try, but I'm a bit weary of the time it'll take to set the rest of the environment up for this particular project I'm working on.

I am still curious if it works on Jessie, which I believe it should. I'm pretty sure there's a supercolliderist or two out there who 's made that happen on the RPi2…
Hope they see this and chime in as well. It would be nice to have an update to Fredrik's guide.

Best,
Stelios

On Mon, Nov 30, 2015 at 4:06 PM, Brian Fay <ovaltinevortex@xxxxxxxxx> wrote:
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

--
*********************** ***********************
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
*********************** ***********************