Csound Csound-dev Csound-tekno Search About

trying to compile csound on rpi 3

Date2016-12-08 20:58
FromRichard van Bemmelen
Subjecttrying to compile csound on rpi 3
I am following the instructions for building csound on Raspberry Pi 'wheezy'. I have 'Jessie' so i changed a few things.
But I get the following error:

pi@raspberrypi:~ $ sudo apt-get build-dep csound
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have unmet dependencies:
 libjack-dev : Depends: libjack0 (= 1:0.124.1+20140122git5013bed0-3) but it is not going to be installed
E: Build-dependencies for csound could not be satisfied.

Richard

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-12-08 23:37
FromRory Walsh
SubjectRe: trying to compile csound on rpi 3
Perhaps you could simply download the cosmo image. http://cosmoproject.github.io/links/  It ships with python, csound and lots of great .csd's already installed. I was at the workshop at Csound30 and was impressed that I could download a Csound ready OS for the PI to a flash drive and get going in minutes. Once you load it up you can install whatever you like on top of it. My RPi 3 is on the way and I'll not bother with trying to install all this stuff myself when there is a full image ready to go.   

On 8 December 2016 at 20:58, Richard van Bemmelen <zappfinger@gmail.com> wrote:
I am following the instructions for building csound on Raspberry Pi 'wheezy'. I have 'Jessie' so i changed a few things.
But I get the following error:

pi@raspberrypi:~ $ sudo apt-get build-dep csound
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have unmet dependencies:
 libjack-dev : Depends: libjack0 (= 1:0.124.1+20140122git5013bed0-3) but it is not going to be installed
E: Build-dependencies for csound could not be satisfied.

Richard

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-12-09 09:03
FromRichard
SubjectRe: trying to compile csound on rpi 3

Thanks Rory, I will try that. It is not clear to me however if the COSMO image has the recent (64 bit?) "Jessie" operating system.
Also, if I go this route and install this 8 Gb image on my 16 Gb SD card, will I be able to expand this to use the full SD card?

Still I would like to see the instructions for building Csound on the Pi 3...
I got a bit further in my attempt by first doing:
sudo apt-get install libjack0
but then I got a lot of compile errors during make -j6

Has anybody successfully come through this?

Richard


On 09/12/16 00:37, Rory Walsh wrote:
Perhaps you could simply download the cosmo image. http://cosmoproject.github.io/links/  It ships with python, csound and lots of great .csd's already installed. I was at the workshop at Csound30 and was impressed that I could download a Csound ready OS for the PI to a flash drive and get going in minutes. Once you load it up you can install whatever you like on top of it. My RPi 3 is on the way and I'll not bother with trying to install all this stuff myself when there is a full image ready to go.   

On 8 December 2016 at 20:58, Richard van Bemmelen <zappfinger@gmail.com> wrote:
I am following the instructions for building csound on Raspberry Pi 'wheezy'. I have 'Jessie' so i changed a few things.
But I get the following error:

pi@raspberrypi:~ $ sudo apt-get build-dep csound
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have unmet dependencies:
 libjack-dev : Depends: libjack0 (= 1:0.124.1+20140122git5013bed0-3) but it is not going to be installed
E: Build-dependencies for csound could not be satisfied.

Richard

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Date2016-12-09 10:37
FromRory Walsh
SubjectRe: trying to compile csound on rpi 3
Have you been through the docs linked here:


On 9 December 2016 at 09:03, Richard <zappfinger@gmail.com> wrote:

Thanks Rory, I will try that. It is not clear to me however if the COSMO image has the recent (64 bit?) "Jessie" operating system.
Also, if I go this route and install this 8 Gb image on my 16 Gb SD card, will I be able to expand this to use the full SD card?

Still I would like to see the instructions for building Csound on the Pi 3...
I got a bit further in my attempt by first doing:
sudo apt-get install libjack0
but then I got a lot of compile errors during make -j6

Has anybody successfully come through this?

Richard


On 09/12/16 00:37, Rory Walsh wrote:
Perhaps you could simply download the cosmo image. http://cosmoproject.github.io/links/  It ships with python, csound and lots of great .csd's already installed. I was at the workshop at Csound30 and was impressed that I could download a Csound ready OS for the PI to a flash drive and get going in minutes. Once you load it up you can install whatever you like on top of it. My RPi 3 is on the way and I'll not bother with trying to install all this stuff myself when there is a full image ready to go.   

On 8 December 2016 at 20:58, Richard van Bemmelen <zappfinger@gmail.com> wrote:
I am following the instructions for building csound on Raspberry Pi 'wheezy'. I have 'Jessie' so i changed a few things.
But I get the following error:

pi@raspberrypi:~ $ sudo apt-get build-dep csound
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have unmet dependencies:
 libjack-dev : Depends: libjack0 (= 1:0.124.1+20140122git5013bed0-3) but it is not going to be installed
E: Build-dependencies for csound could not be satisfied.

Richard

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-12-09 10:56
FromRichard
SubjectRe: trying to compile csound on rpi 3

Yeah, I did just that and in Paul Batchelor's link I found I could just do:

sudo apt-get install csound

why did I not think about that before?
But this seems to install csound 6.0.3 from 2014...

Richard


On 09/12/16 11:37, Rory Walsh wrote:
Have you been through the docs linked here:


On 9 December 2016 at 09:03, Richard <zappfinger@gmail.com> wrote:

Thanks Rory, I will try that. It is not clear to me however if the COSMO image has the recent (64 bit?) "Jessie" operating system.
Also, if I go this route and install this 8 Gb image on my 16 Gb SD card, will I be able to expand this to use the full SD card?

Still I would like to see the instructions for building Csound on the Pi 3...
I got a bit further in my attempt by first doing:
sudo apt-get install libjack0
but then I got a lot of compile errors during make -j6

Has anybody successfully come through this?

Richard


On 09/12/16 00:37, Rory Walsh wrote:
Perhaps you could simply download the cosmo image. http://cosmoproject.github.io/links/  It ships with python, csound and lots of great .csd's already installed. I was at the workshop at Csound30 and was impressed that I could download a Csound ready OS for the PI to a flash drive and get going in minutes. Once you load it up you can install whatever you like on top of it. My RPi 3 is on the way and I'll not bother with trying to install all this stuff myself when there is a full image ready to go.   

On 8 December 2016 at 20:58, Richard van Bemmelen <zappfinger@gmail.com> wrote:
I am following the instructions for building csound on Raspberry Pi 'wheezy'. I have 'Jessie' so i changed a few things.
But I get the following error:

pi@raspberrypi:~ $ sudo apt-get build-dep csound
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have unmet dependencies:
 libjack-dev : Depends: libjack0 (= 1:0.124.1+20140122git5013bed0-3) but it is not going to be installed
E: Build-dependencies for csound could not be satisfied.

Richard

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Date2016-12-09 11:45
FromRory Walsh
SubjectRe: trying to compile csound on rpi 3
Have you run sudo apt-get update?

On 9 December 2016 at 10:56, Richard <zappfinger@gmail.com> wrote:

Yeah, I did just that and in Paul Batchelor's link I found I could just do:

sudo apt-get install csound

why did I not think about that before?
But this seems to install csound 6.0.3 from 2014...

Richard


On 09/12/16 11:37, Rory Walsh wrote:
Have you been through the docs linked here:


On 9 December 2016 at 09:03, Richard <zappfinger@gmail.com> wrote:

Thanks Rory, I will try that. It is not clear to me however if the COSMO image has the recent (64 bit?) "Jessie" operating system.
Also, if I go this route and install this 8 Gb image on my 16 Gb SD card, will I be able to expand this to use the full SD card?

Still I would like to see the instructions for building Csound on the Pi 3...
I got a bit further in my attempt by first doing:
sudo apt-get install libjack0
but then I got a lot of compile errors during make -j6

Has anybody successfully come through this?

Richard


On 09/12/16 00:37, Rory Walsh wrote:
Perhaps you could simply download the cosmo image. http://cosmoproject.github.io/links/  It ships with python, csound and lots of great .csd's already installed. I was at the workshop at Csound30 and was impressed that I could download a Csound ready OS for the PI to a flash drive and get going in minutes. Once you load it up you can install whatever you like on top of it. My RPi 3 is on the way and I'll not bother with trying to install all this stuff myself when there is a full image ready to go.   

On 8 December 2016 at 20:58, Richard van Bemmelen <zappfinger@gmail.com> wrote:
I am following the instructions for building csound on Raspberry Pi 'wheezy'. I have 'Jessie' so i changed a few things.
But I get the following error:

pi@raspberrypi:~ $ sudo apt-get build-dep csound
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have unmet dependencies:
 libjack-dev : Depends: libjack0 (= 1:0.124.1+20140122git5013bed0-3) but it is not going to be installed
E: Build-dependencies for csound could not be satisfied.

Richard

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-12-09 11:54
FromRichard
SubjectRe: trying to compile csound on rpi 3

yesterday I did, and also upgrade
did it again and also install csound, but it says csound is already the newest version.

But at least I can do some tests now with 6.0.3...

Still downloading the COSMO image on my wife's slow Windows machine, curious what that brings.

Richard


On 09/12/16 12:45, Rory Walsh wrote:
Have you run sudo apt-get update?

On 9 December 2016 at 10:56, Richard <zappfinger@gmail.com> wrote:

Yeah, I did just that and in Paul Batchelor's link I found I could just do:

sudo apt-get install csound

why did I not think about that before?
But this seems to install csound 6.0.3 from 2014...

Richard


On 09/12/16 11:37, Rory Walsh wrote:
Have you been through the docs linked here:


On 9 December 2016 at 09:03, Richard <zappfinger@gmail.com> wrote:

Thanks Rory, I will try that. It is not clear to me however if the COSMO image has the recent (64 bit?) "Jessie" operating system.
Also, if I go this route and install this 8 Gb image on my 16 Gb SD card, will I be able to expand this to use the full SD card?

Still I would like to see the instructions for building Csound on the Pi 3...
I got a bit further in my attempt by first doing:
sudo apt-get install libjack0
but then I got a lot of compile errors during make -j6

Has anybody successfully come through this?

Richard


On 09/12/16 00:37, Rory Walsh wrote:
Perhaps you could simply download the cosmo image. http://cosmoproject.github.io/links/  It ships with python, csound and lots of great .csd's already installed. I was at the workshop at Csound30 and was impressed that I could download a Csound ready OS for the PI to a flash drive and get going in minutes. Once you load it up you can install whatever you like on top of it. My RPi 3 is on the way and I'll not bother with trying to install all this stuff myself when there is a full image ready to go.   

On 8 December 2016 at 20:58, Richard van Bemmelen <zappfinger@gmail.com> wrote:
I am following the instructions for building csound on Raspberry Pi 'wheezy'. I have 'Jessie' so i changed a few things.
But I get the following error:

pi@raspberrypi:~ $ sudo apt-get build-dep csound
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have unmet dependencies:
 libjack-dev : Depends: libjack0 (= 1:0.124.1+20140122git5013bed0-3) but it is not going to be installed
E: Build-dependencies for csound could not be satisfied.

Richard

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Date2016-12-09 13:20
FromRichard
SubjectRe: trying to compile csound on rpi 3

The COSMO image runs, here are a few things I found out:

It uses csound version 6.07
It seems to be a special Linux version cosmo1.

I could not start vncserver on it (not present), So I think it was meant to be used headless.

Richard

On 09/12/16 12:45, Rory Walsh wrote:
Have you run sudo apt-get update?

On 9 December 2016 at 10:56, Richard <zappfinger@gmail.com> wrote:

Yeah, I did just that and in Paul Batchelor's link I found I could just do:

sudo apt-get install csound

why did I not think about that before?
But this seems to install csound 6.0.3 from 2014...

Richard


On 09/12/16 11:37, Rory Walsh wrote:
Have you been through the docs linked here:


On 9 December 2016 at 09:03, Richard <zappfinger@gmail.com> wrote:

Thanks Rory, I will try that. It is not clear to me however if the COSMO image has the recent (64 bit?) "Jessie" operating system.
Also, if I go this route and install this 8 Gb image on my 16 Gb SD card, will I be able to expand this to use the full SD card?

Still I would like to see the instructions for building Csound on the Pi 3...
I got a bit further in my attempt by first doing:
sudo apt-get install libjack0
but then I got a lot of compile errors during make -j6

Has anybody successfully come through this?

Richard


On 09/12/16 00:37, Rory Walsh wrote:
Perhaps you could simply download the cosmo image. http://cosmoproject.github.io/links/  It ships with python, csound and lots of great .csd's already installed. I was at the workshop at Csound30 and was impressed that I could download a Csound ready OS for the PI to a flash drive and get going in minutes. Once you load it up you can install whatever you like on top of it. My RPi 3 is on the way and I'll not bother with trying to install all this stuff myself when there is a full image ready to go.   

On 8 December 2016 at 20:58, Richard van Bemmelen <zappfinger@gmail.com> wrote:
I am following the instructions for building csound on Raspberry Pi 'wheezy'. I have 'Jessie' so i changed a few things.
But I get the following error:

pi@raspberrypi:~ $ sudo apt-get build-dep csound
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have unmet dependencies:
 libjack-dev : Depends: libjack0 (= 1:0.124.1+20140122git5013bed0-3) but it is not going to be installed
E: Build-dependencies for csound could not be satisfied.

Richard

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Date2016-12-09 13:28
FromRory Walsh
SubjectRe: trying to compile csound on rpi 3
If by headless you mean no GUI, then yes. I should have said that before you took the trouble to download it! 

On 9 Dec 2016 1:20 pm, "Richard" <zappfinger@gmail.com> wrote:

The COSMO image runs, here are a few things I found out:

It uses csound version 6.07
It seems to be a special Linux version cosmo1.

I could not start vncserver on it (not present), So I think it was meant to be used headless.

Richard

On 09/12/16 12:45, Rory Walsh wrote:
Have you run sudo apt-get update?

On 9 December 2016 at 10:56, Richard <zappfinger@gmail.com> wrote:

Yeah, I did just that and in Paul Batchelor's link I found I could just do:

sudo apt-get install csound

why did I not think about that before?
But this seems to install csound 6.0.3 from 2014...

Richard


On 09/12/16 11:37, Rory Walsh wrote:
Have you been through the docs linked here:


On 9 December 2016 at 09:03, Richard <zappfinger@gmail.com> wrote:

Thanks Rory, I will try that. It is not clear to me however if the COSMO image has the recent (64 bit?) "Jessie" operating system.
Also, if I go this route and install this 8 Gb image on my 16 Gb SD card, will I be able to expand this to use the full SD card?

Still I would like to see the instructions for building Csound on the Pi 3...
I got a bit further in my attempt by first doing:
sudo apt-get install libjack0
but then I got a lot of compile errors during make -j6

Has anybody successfully come through this?

Richard


On 09/12/16 00:37, Rory Walsh wrote:
Perhaps you could simply download the cosmo image. http://cosmoproject.github.io/links/  It ships with python, csound and lots of great .csd's already installed. I was at the workshop at Csound30 and was impressed that I could download a Csound ready OS for the PI to a flash drive and get going in minutes. Once you load it up you can install whatever you like on top of it. My RPi 3 is on the way and I'll not bother with trying to install all this stuff myself when there is a full image ready to go.   

On 8 December 2016 at 20:58, Richard van Bemmelen <zappfinger@gmail.com> wrote:
I am following the instructions for building csound on Raspberry Pi 'wheezy'. I have 'Jessie' so i changed a few things.
But I get the following error:

pi@raspberrypi:~ $ sudo apt-get build-dep csound
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have unmet dependencies:
 libjack-dev : Depends: libjack0 (= 1:0.124.1+20140122git5013bed0-3) but it is not going to be installed
E: Build-dependencies for csound could not be satisfied.

Richard

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-12-09 13:30
FromRichard
SubjectRe: trying to compile csound on rpi 3

No probs, I just installed tightvncserver...


On 09/12/16 14:28, Rory Walsh wrote:
If by headless you mean no GUI, then yes. I should have said that before you took the trouble to download it! 

On 9 Dec 2016 1:20 pm, "Richard" <zappfinger@gmail.com> wrote:

The COSMO image runs, here are a few things I found out:

It uses csound version 6.07
It seems to be a special Linux version cosmo1.

I could not start vncserver on it (not present), So I think it was meant to be used headless.

Richard

On 09/12/16 12:45, Rory Walsh wrote:
Have you run sudo apt-get update?

On 9 December 2016 at 10:56, Richard <zappfinger@gmail.com> wrote:

Yeah, I did just that and in Paul Batchelor's link I found I could just do:

sudo apt-get install csound

why did I not think about that before?
But this seems to install csound 6.0.3 from 2014...

Richard


On 09/12/16 11:37, Rory Walsh wrote:
Have you been through the docs linked here:


On 9 December 2016 at 09:03, Richard <zappfinger@gmail.com> wrote:

Thanks Rory, I will try that. It is not clear to me however if the COSMO image has the recent (64 bit?) "Jessie" operating system.
Also, if I go this route and install this 8 Gb image on my 16 Gb SD card, will I be able to expand this to use the full SD card?

Still I would like to see the instructions for building Csound on the Pi 3...
I got a bit further in my attempt by first doing:
sudo apt-get install libjack0
but then I got a lot of compile errors during make -j6

Has anybody successfully come through this?

Richard


On 09/12/16 00:37, Rory Walsh wrote:
Perhaps you could simply download the cosmo image. http://cosmoproject.github.io/links/  It ships with python, csound and lots of great .csd's already installed. I was at the workshop at Csound30 and was impressed that I could download a Csound ready OS for the PI to a flash drive and get going in minutes. Once you load it up you can install whatever you like on top of it. My RPi 3 is on the way and I'll not bother with trying to install all this stuff myself when there is a full image ready to go.   

On 8 December 2016 at 20:58, Richard van Bemmelen <zappfinger@gmail.com> wrote:
I am following the instructions for building csound on Raspberry Pi 'wheezy'. I have 'Jessie' so i changed a few things.
But I get the following error:

pi@raspberrypi:~ $ sudo apt-get build-dep csound
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have unmet dependencies:
 libjack-dev : Depends: libjack0 (= 1:0.124.1+20140122git5013bed0-3) but it is not going to be installed
E: Build-dependencies for csound could not be satisfied.

Richard

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Date2016-12-09 13:31
Fromjpff
SubjectRe: trying to compile csound on rpi 3
I is some while since I built csound on a rPi but I just did what I do on 
Debian and it just worked. What problem(s) are you having?
Pehapss I ignored packages I do not use/need

On Fri, 9 Dec 2016, Richard wrote:

> 
> Thanks Rory, I will try that. It is not clear to me however if the COSMO
> image has the recent (64 bit?) "Jessie" operating system.
> Also, if I go this route and install this 8 Gb image on my 16 Gb SD card,
> will I be able to expand this to use the full SD card?
> 
> Still I would like to see the instructions for building Csound on the Pi
> 3...
> I got a bit further in my attempt by first doing:
> sudo apt-get install libjack0
> but then I got a lot of compile errors during make -j6
> 
> Has anybody successfully come through this?
> 
> Richard
>

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-12-09 13:45
FromBernt Isak Wærstad
SubjectRe: trying to compile csound on rpi 3
We have focused on stability over latest features, so haven't gotten around to build latest Csound yet, but I aim to do a new version of the image before Christmas.

Our image is also updated with real time kernel which is needed for the Cirrus Logic audio card.

On 9 December 2016 at 14:20, Richard <zappfinger@gmail.com> wrote:

The COSMO image runs, here are a few things I found out:

It uses csound version 6.07
It seems to be a special Linux version cosmo1.

I could not start vncserver on it (not present), So I think it was meant to be used headless.

Richard


On 09/12/16 12:45, Rory Walsh wrote:
Have you run sudo apt-get update?

On 9 December 2016 at 10:56, Richard <zappfinger@gmail.com> wrote:

Yeah, I did just that and in Paul Batchelor's link I found I could just do:

sudo apt-get install csound

why did I not think about that before?
But this seems to install csound 6.0.3 from 2014...

Richard


On 09/12/16 11:37, Rory Walsh wrote:
Have you been through the docs linked here:


On 9 December 2016 at 09:03, Richard <zappfinger@gmail.com> wrote:

Thanks Rory, I will try that. It is not clear to me however if the COSMO image has the recent (64 bit?) "Jessie" operating system.
Also, if I go this route and install this 8 Gb image on my 16 Gb SD card, will I be able to expand this to use the full SD card?

Still I would like to see the instructions for building Csound on the Pi 3...
I got a bit further in my attempt by first doing:
sudo apt-get install libjack0
but then I got a lot of compile errors during make -j6

Has anybody successfully come through this?

Richard


On 09/12/16 00:37, Rory Walsh wrote:
Perhaps you could simply download the cosmo image. http://cosmoproject.github.io/links/  It ships with python, csound and lots of great .csd's already installed. I was at the workshop at Csound30 and was impressed that I could download a Csound ready OS for the PI to a flash drive and get going in minutes. Once you load it up you can install whatever you like on top of it. My RPi 3 is on the way and I'll not bother with trying to install all this stuff myself when there is a full image ready to go.   

On 8 December 2016 at 20:58, Richard van Bemmelen <zappfinger@gmail.com> wrote:
I am following the instructions for building csound on Raspberry Pi 'wheezy'. I have 'Jessie' so i changed a few things.
But I get the following error:

pi@raspberrypi:~ $ sudo apt-get build-dep csound
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have unmet dependencies:
 libjack-dev : Depends: libjack0 (= 1:0.124.1+20140122git5013bed0-3) but it is not going to be installed
E: Build-dependencies for csound could not be satisfied.

Richard

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here



--
Mvh.

Bernt Isak Wærstad


Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-12-09 15:54
FromRichard
SubjectRe: trying to compile csound on rpi 3
Attachmentslog.txt  
John, I captured the output of the compiler in a log file, that is attached.

Richard


On 09/12/16 14:31, jpff wrote:
> I is some while since I built csound on a rPi but I just did what I do 
> on Debian and it just worked. What problem(s) are you having?
> Pehapss I ignored packages I do not use/need
>
> On Fri, 9 Dec 2016, Richard wrote:
>
>>
>> Thanks Rory, I will try that. It is not clear to me however if the COSMO
>> image has the recent (64 bit?) "Jessie" operating system.
>> Also, if I go this route and install this 8 Gb image on my 16 Gb SD 
>> card,
>> will I be able to expand this to use the full SD card?
>>
>> Still I would like to see the instructions for building Csound on the Pi
>> 3...
>> I got a bit further in my attempt by first doing:
>> sudo apt-get install libjack0
>> but then I got a lot of compile errors during make -j6
>>
>> Has anybody successfully come through this?
>>
>> Richard
>>
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-12-09 16:08
FromVictor Lazzarini
SubjectRe: trying to compile csound on rpi 3
This is the issue:

/usr/lib/gcc/arm-linux-gnueabihf/4.9/include/arm_neon.h:31:2: error: #error You must enable NEON instructions (e.g. -mfloat-abi=softfp -mfpu=neon) to use arm_neon.h

 #error You must enable NEON instructions (e.g. -mfloat-abi=softfp -mfpu=neon) to use arm_neon.h


try to do as it says and add  these flags to the build.


Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 9 Dec 2016, at 15:55, Richard <zappfinger@GMAIL.COM> wrote:

John, I captured the output of the compiler in a log file, that is attached.

Richard


On 09/12/16 14:31, jpff wrote:
I is some while since I built csound on a rPi but I just did what I do on Debian and it just worked. What problem(s) are you having?
Pehapss I ignored packages I do not use/need

On Fri, 9 Dec 2016, Richard wrote:


Thanks Rory, I will try that. It is not clear to me however if the COSMO
image has the recent (64 bit?) "Jessie" operating system.
Also, if I go this route and install this 8 Gb image on my 16 Gb SD card,
will I be able to expand this to use the full SD card?

Still I would like to see the instructions for building Csound on the Pi
3...
I got a bit further in my attempt by first doing:
sudo apt-get install libjack0
but then I got a lot of compile errors during make -j6

Has anybody successfully come through this?

Richard


Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
      https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here


Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
      https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
<log.txt>

Date2016-12-09 16:29
Fromjpff
SubjectRe: trying to compile csound on rpi 3
Looks like you are trying to se neon witout it enabled.  Nothing I know 
about
==John

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-12-09 18:26
FromAnders Genell
SubjectRe: trying to compile csound on rpi 3
In the Build.md file there are instructions to enable NEON for ARM:

NEON support for PFFFT lib

From 6.07, Csound includes a choice of FFT libraries. One of these is PFFFT, which can avail of NEON vector operations on arm, where these exist. This can lead to a compilation error if the correct options are not set. If a build error occurs in the compilation of pffft.c, two options exist.

  1. Try to add the correct flags for NEON compilation. This can be made by editing the top-level file Custom.cmake.ex, and saving it as Custom.cmake. In that file, the line

    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -W -Wall -mtune=core2”)

    should be changed to

    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mfloat-abi=hard -mfpu=neon”)

  2. If step 1 fails, there might be no NEON support for your arm chip, in which case, you need to change the line above to

    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DPFFFT_SIMD_DISABLE”)

    in order to disable the vectorial code and use standard C scalar operations.




Regards,
Anders


9 dec. 2016 kl. 17:08 skrev Victor Lazzarini <Victor.Lazzarini@NUIM.IE>:

This is the issue:

/usr/lib/gcc/arm-linux-gnueabihf/4.9/include/arm_neon.h:31:2: error: #error You must enable NEON instructions (e.g. -mfloat-abi=softfp -mfpu=neon) to use arm_neon.h

 #error You must enable NEON instructions (e.g. -mfloat-abi=softfp -mfpu=neon) to use arm_neon.h


try to do as it says and add  these flags to the build.


Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 9 Dec 2016, at 15:55, Richard <zappfinger@GMAIL.COM> wrote:

John, I captured the output of the compiler in a log file, that is attached.

Richard


On 09/12/16 14:31, jpff wrote:
I is some while since I built csound on a rPi but I just did what I do on Debian and it just worked. What problem(s) are you having?
Pehapss I ignored packages I do not use/need

On Fri, 9 Dec 2016, Richard wrote:


Thanks Rory, I will try that. It is not clear to me however if the COSMO
image has the recent (64 bit?) "Jessie" operating system.
Also, if I go this route and install this 8 Gb image on my 16 Gb SD card,
will I be able to expand this to use the full SD card?

Still I would like to see the instructions for building Csound on the Pi
3...
I got a bit further in my attempt by first doing:
sudo apt-get install libjack0
but then I got a lot of compile errors during make -j6

Has anybody successfully come through this?

Richard


Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
      https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here


Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
      https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
<log.txt>
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-12-09 18:38
FromVictor Lazzarini
SubjectRe: trying to compile csound on rpi 3
I thought there were instructions, thanks for the reminder.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 9 Dec 2016, at 18:26, Anders Genell <anders.genell@GMAIL.COM> wrote:

In the Build.md file there are instructions to enable NEON for ARM:

NEON support for PFFFT lib

From 6.07, Csound includes a choice of FFT libraries. One of these is PFFFT, which can avail of NEON vector operations on arm, where these exist. This can lead to a compilation error if the correct options are not set. If a build error occurs in the compilation of pffft.c, two options exist.

  1. Try to add the correct flags for NEON compilation. This can be made by editing the top-level file Custom.cmake.ex, and saving it as Custom.cmake. In that file, the line

    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -W -Wall -mtune=core2”)

    should be changed to

    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mfloat-abi=hard -mfpu=neon”)

  2. If step 1 fails, there might be no NEON support for your arm chip, in which case, you need to change the line above to

    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DPFFFT_SIMD_DISABLE”)

    in order to disable the vectorial code and use standard C scalar operations.




Regards,
Anders


9 dec. 2016 kl. 17:08 skrev Victor Lazzarini <Victor.Lazzarini@NUIM.IE>:

This is the issue:

/usr/lib/gcc/arm-linux-gnueabihf/4.9/include/arm_neon.h:31:2: error: #error You must enable NEON instructions (e.g. -mfloat-abi=softfp -mfpu=neon) to use arm_neon.h

 #error You must enable NEON instructions (e.g. -mfloat-abi=softfp -mfpu=neon) to use arm_neon.h


try to do as it says and add  these flags to the build.


Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 9 Dec 2016, at 15:55, Richard <zappfinger@GMAIL.COM> wrote:

John, I captured the output of the compiler in a log file, that is attached.

Richard


On 09/12/16 14:31, jpff wrote:
I is some while since I built csound on a rPi but I just did what I do on Debian and it just worked. What problem(s) are you having?
Pehapss I ignored packages I do not use/need

On Fri, 9 Dec 2016, Richard wrote:


Thanks Rory, I will try that. It is not clear to me however if the COSMO
image has the recent (64 bit?) "Jessie" operating system.
Also, if I go this route and install this 8 Gb image on my 16 Gb SD card,
will I be able to expand this to use the full SD card?

Still I would like to see the instructions for building Csound on the Pi
3...
I got a bit further in my attempt by first doing:
sudo apt-get install libjack0
but then I got a lot of compile errors during make -j6

Has anybody successfully come through this?

Richard


Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
      https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here


Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
      https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
<log.txt>
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-12-09 21:51
FromRichard
SubjectRe: trying to compile csound on rpi 3

I tried both options, but I get some macro errors like:

/home/pi/csound/csound/OOps/pffft.c:167:5: error: unknown type name 'float32x4x2_t'
     float32x4x2_t u0_ = vzipq_f32(t0_.val[0], t1_.val[0]);              \
     ^
/home/pi/csound/csound/OOps/pffft.c:1551:3: note: in expansion of macro 'VTRANSPOSE4'
   VTRANSPOSE4(i0,i1,i2,i3);
   ^
/home/pi/csound/csound/OOps/pffft.c:167:38: error: request for member 'val' in something not a structure or union
     float32x4x2_t u0_ = vzipq_f32(t0_.val[0], t1_.val[0]);              \
                                      ^
Richard


On 09/12/16 19:26, Anders Genell wrote:
In the Build.md file there are instructions to enable NEON for ARM:

NEON support for PFFFT lib

From 6.07, Csound includes a choice of FFT libraries. One of these is PFFFT, which can avail of NEON vector operations on arm, where these exist. This can lead to a compilation error if the correct options are not set. If a build error occurs in the compilation of pffft.c, two options exist.

  1. Try to add the correct flags for NEON compilation. This can be made by editing the top-level file Custom.cmake.ex, and saving it as Custom.cmake. In that file, the line

    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -W -Wall -mtune=core2”)

    should be changed to

    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mfloat-abi=hard -mfpu=neon”)

  2. If step 1 fails, there might be no NEON support for your arm chip, in which case, you need to change the line above to

    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DPFFFT_SIMD_DISABLE”)

    in order to disable the vectorial code and use standard C scalar operations.




Regards,
Anders


9 dec. 2016 kl. 17:08 skrev Victor Lazzarini <Victor.Lazzarini@NUIM.IE>:

This is the issue:

/usr/lib/gcc/arm-linux-gnueabihf/4.9/include/arm_neon.h:31:2: error: #error You must enable NEON instructions (e.g. -mfloat-abi=softfp -mfpu=neon) to use arm_neon.h

 #error You must enable NEON instructions (e.g. -mfloat-abi=softfp -mfpu=neon) to use arm_neon.h


try to do as it says and add  these flags to the build.


Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 9 Dec 2016, at 15:55, Richard <zappfinger@GMAIL.COM> wrote:

John, I captured the output of the compiler in a log file, that is attached.

Richard


On 09/12/16 14:31, jpff wrote:
I is some while since I built csound on a rPi but I just did what I do on Debian and it just worked. What problem(s) are you having?
Pehapss I ignored packages I do not use/need

On Fri, 9 Dec 2016, Richard wrote:


Thanks Rory, I will try that. It is not clear to me however if the COSMO
image has the recent (64 bit?) "Jessie" operating system.
Also, if I go this route and install this 8 Gb image on my 16 Gb SD card,
will I be able to expand this to use the full SD card?

Still I would like to see the instructions for building Csound on the Pi
3...
I got a bit further in my attempt by first doing:
sudo apt-get install libjack0
but then I got a lot of compile errors during make -j6

Has anybody successfully come through this?

Richard


Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
      https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here


Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
      https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
<log.txt>
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Date2016-12-09 22:15
FromVictor Lazzarini
SubjectRe: trying to compile csound on rpi 3
Maybe NEON is not supported. You can disable it.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 9 Dec 2016, at 21:51, Richard  wrote:
> 
> I tried both options, but I get some macro errors like:
> 
> /home/pi/csound/csound/OOps/pffft.c:167:5: error: unknown type name 'float32x4x2_t'
>      float32x4x2_t u0_ = vzipq_f32(t0_.val[0], t1_.val[0]);              \
>      ^
> /home/pi/csound/csound/OOps/pffft.c:1551:3: note: in expansion of macro 'VTRANSPOSE4'
>    VTRANSPOSE4(i0,i1,i2,i3);
>    ^
> /home/pi/csound/csound/OOps/pffft.c:167:38: error: request for member 'val' in something not a structure or union
>      float32x4x2_t u0_ = vzipq_f32(t0_.val[0], t1_.val[0]);              \
>                                       ^
> Richard
> 
> On 09/12/16 19:26, Anders Genell wrote:
>> In the Build.md file there are instructions to enable NEON for ARM:
>> 
>> NEON support for PFFFT lib
>> 
>> From 6.07, Csound includes a choice of FFT libraries. One of these is PFFFT, which can avail of NEON vector operations on arm, where these exist. This can lead to a compilation error if the correct options are not set. If a build error occurs in the compilation of pffft.c, two options exist.
>> 
>> 	• Try to add the correct flags for NEON compilation. This can be made by editing the top-level file Custom.cmake.ex, and saving it as Custom.cmake. In that file, the line
>> 
>> set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -W -Wall -mtune=core2”)
>> 
>> should be changed to
>> 
>> set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mfloat-abi=hard -mfpu=neon”)
>> 
>> 	• If step 1 fails, there might be no NEON support for your arm chip, in which case, you need to change the line above to
>> 
>> set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DPFFFT_SIMD_DISABLE”)
>> 
>> in order to disable the vectorial code and use standard C scalar operations.
>> 
>> 
>> 
>> 
>> 
>> 
>> Regards,
>> Anders
>> 
>> 
>> 9 dec. 2016 kl. 17:08 skrev Victor Lazzarini :
>> 
>>> This is the issue:
>>> 
>>> /usr/lib/gcc/arm-linux-gnueabihf/4.9/include/arm_neon.h:31:2: error: #error You must enable NEON instructions (e.g. -mfloat-abi=softfp -mfpu=neon) to use arm_neon.h
>>>  #error You must enable NEON instructions (e.g. -mfloat-abi=softfp -mfpu=neon) to use arm_neon.h
>>> 
>>> try to do as it says and add  these flags to the build.
>>> 
>>> Victor Lazzarini
>>> Dean of Arts, Celtic Studies, and Philosophy
>>> Maynooth University
>>> Ireland
>>> 
>>> On 9 Dec 2016, at 15:55, Richard  wrote:
>>> 
>>>> John, I captured the output of the compiler in a log file, that is attached.
>>>> 
>>>> Richard
>>>> 
>>>> 
>>>> On 09/12/16 14:31, jpff wrote:
>>>>> I is some while since I built csound on a rPi but I just did what I do on Debian and it just worked. What problem(s) are you having?
>>>>> Pehapss I ignored packages I do not use/need
>>>>> 
>>>>> On Fri, 9 Dec 2016, Richard wrote:
>>>>> 
>>>>>> 
>>>>>> Thanks Rory, I will try that. It is not clear to me however if the COSMO
>>>>>> image has the recent (64 bit?) "Jessie" operating system.
>>>>>> Also, if I go this route and install this 8 Gb image on my 16 Gb SD card,
>>>>>> will I be able to expand this to use the full SD card?
>>>>>> 
>>>>>> Still I would like to see the instructions for building Csound on the Pi
>>>>>> 3...
>>>>>> I got a bit further in my attempt by first doing:
>>>>>> sudo apt-get install libjack0
>>>>>> but then I got a lot of compile errors during make -j6
>>>>>> 
>>>>>> Has anybody successfully come through this?
>>>>>> 
>>>>>> Richard
>>>>>> 
>>>>> 
>>>>> Csound mailing list
>>>>> Csound@listserv.heanet.ie
>>>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>>>> Send bugs reports to
>>>>>       https://github.com/csound/csound/issues
>>>>> Discussions of bugs and features can be posted here
>>>> 
>>>> 
>>>> Csound mailing list
>>>> Csound@listserv.heanet.ie
>>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>>> Send bugs reports to
>>>>       https://github.com/csound/csound/issues
>>>> Discussions of bugs and features can be posted here
>>>> 
>>> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
>> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
> 
> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here