Csound Csound-dev Csound-tekno Search About

[Csnd-dev] Request for Link and Step by Step Instructions - Csound on Bela, Csound on RaspberryPi

Date2021-07-12 01:41
From"Dr. Richard Boulanger"
Subject[Csnd-dev] Request for Link and Step by Step Instructions - Csound on Bela, Csound on RaspberryPi
Hello Csound Developers, Hello Guilio,

In the downloads section on Csounds.com, is there any chance that we could be hosting a link to the following:

6.16.1 build for Bela
6.16.1 build for RaspberryPi

and maybe (dreaming here) a set of step-by-step build instructions for how to build for the latest source on both of these very popular and increasingly powerful and affordable platforms.

One can pretty easily install 'a' version of Csound on the Bela (but not the most current release)

One can even easier install 'a' version of Csound on the Pi (but not the most current release)

And one can even pretty easily install 'a' version of CsoundQt on the Pi too (but not the most current)

I have been so excited to be able to use Homebrew (thanks to Steven Yi and to everyone who made this so easy to do!) to locally build Csound on MacOS Catalina (Intel Mac) and Big Sur (M1 Mac). This has allowed me to work and collaborate with John ffitch every Friday over Zoom for the past 1.5 years - it's been so so so inspiring!

I know that there are some of you out there who are building for the Pi
I know that there are some of you out there (Gulio, Alex, Bernt) who are building for the Bela

It would be so great to have these builds hosted at Csounds.com and even more inspiring to have a working set of steps so that as new opcodes are added, one could experiment with them as they are developed and shared and prior to the next release.

Thanks for your consideration

- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division


Date2021-07-12 02:44
FromDave Seidel
SubjectRe: [Csnd-dev] Request for Link and Step by Step Instructions - Csound on Bela, Csound on RaspberryPi
Pi build steps are documented along with the other platforms: https://github.com/csound/csound/blob/develop/BUILD.md#raspian

These are the steps I follow.

On Sun, Jul 11, 2021 at 8:41 PM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
Hello Csound Developers, Hello Guilio,

In the downloads section on Csounds.com, is there any chance that we could be hosting a link to the following:

6.16.1 build for Bela
6.16.1 build for RaspberryPi

and maybe (dreaming here) a set of step-by-step build instructions for how to build for the latest source on both of these very popular and increasingly powerful and affordable platforms.

One can pretty easily install 'a' version of Csound on the Bela (but not the most current release)

One can even easier install 'a' version of Csound on the Pi (but not the most current release)

And one can even pretty easily install 'a' version of CsoundQt on the Pi too (but not the most current)

I have been so excited to be able to use Homebrew (thanks to Steven Yi and to everyone who made this so easy to do!) to locally build Csound on MacOS Catalina (Intel Mac) and Big Sur (M1 Mac). This has allowed me to work and collaborate with John ffitch every Friday over Zoom for the past 1.5 years - it's been so so so inspiring!

I know that there are some of you out there who are building for the Pi
I know that there are some of you out there (Gulio, Alex, Bernt) who are building for the Bela

It would be so great to have these builds hosted at Csounds.com and even more inspiring to have a working set of steps so that as new opcodes are added, one could experiment with them as they are developed and shared and prior to the next release.

Thanks for your consideration

- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division


Date2021-07-12 03:52
From"Dr. Richard Boulanger"
SubjectRe: [Csnd-dev] Request for Link and Step by Step Instructions - Csound on Bela, Csound on RaspberryPi
Thanks, Dave
 - I have a new 400 and will try right now and report back.

OK so following these steps I get
1. it's a read-only file and you can't save to it
- so I sudo chmod 777 the file and use nano to edit
2. I run sudo apt-get-update and get the following:
pi@raspberrypi:~ $ sudo apt-get update
Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]                                              
Ign:3 http://mirrordirector.raspbian.org/raspbian wheezy InRelease                              
Err:4 http://mirrordirector.raspbian.org/raspbian wheezy Release
  404  Not Found [IP: 93.93.128.193 80]
Get:5 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
Get:6 http://archive.raspberrypi.org/debian buster/main armhf Packages [376 kB]
Reading package lists... Done                                                                                                          
E: The repository 'http://mirrordirector.raspbian.org/raspbian wheezy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.



- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Sun, Jul 11, 2021 at 9:45 PM Dave Seidel <dave.seidel@gmail.com> wrote:
Pi build steps are documented along with the other platforms: https://github.com/csound/csound/blob/develop/BUILD.md#raspian

These are the steps I follow.

On Sun, Jul 11, 2021 at 8:41 PM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
Hello Csound Developers, Hello Guilio,

In the downloads section on Csounds.com, is there any chance that we could be hosting a link to the following:

6.16.1 build for Bela
6.16.1 build for RaspberryPi

and maybe (dreaming here) a set of step-by-step build instructions for how to build for the latest source on both of these very popular and increasingly powerful and affordable platforms.

One can pretty easily install 'a' version of Csound on the Bela (but not the most current release)

One can even easier install 'a' version of Csound on the Pi (but not the most current release)

And one can even pretty easily install 'a' version of CsoundQt on the Pi too (but not the most current)

I have been so excited to be able to use Homebrew (thanks to Steven Yi and to everyone who made this so easy to do!) to locally build Csound on MacOS Catalina (Intel Mac) and Big Sur (M1 Mac). This has allowed me to work and collaborate with John ffitch every Friday over Zoom for the past 1.5 years - it's been so so so inspiring!

I know that there are some of you out there who are building for the Pi
I know that there are some of you out there (Gulio, Alex, Bernt) who are building for the Bela

It would be so great to have these builds hosted at Csounds.com and even more inspiring to have a working set of steps so that as new opcodes are added, one could experiment with them as they are developed and shared and prior to the next release.

Thanks for your consideration

- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division


Date2021-07-12 03:54
From"Dr. Richard Boulanger"
SubjectRe: [Csnd-dev] Request for Link and Step by Step Instructions - Csound on Bela, Csound on RaspberryPi
And after that, I tried

pi@raspberrypi:~ $ sudo apt-get build-dep csound
Reading package lists... Done
E: You must put some 'source' URIs in your sources.list

- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Sun, Jul 11, 2021 at 10:52 PM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
Thanks, Dave
 - I have a new 400 and will try right now and report back.

OK so following these steps I get
1. it's a read-only file and you can't save to it
- so I sudo chmod 777 the file and use nano to edit
2. I run sudo apt-get-update and get the following:
pi@raspberrypi:~ $ sudo apt-get update
Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]                                              
Ign:3 http://mirrordirector.raspbian.org/raspbian wheezy InRelease                              
Err:4 http://mirrordirector.raspbian.org/raspbian wheezy Release
  404  Not Found [IP: 93.93.128.193 80]
Get:5 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
Get:6 http://archive.raspberrypi.org/debian buster/main armhf Packages [376 kB]
Reading package lists... Done                                                                                                          
E: The repository 'http://mirrordirector.raspbian.org/raspbian wheezy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.



- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Sun, Jul 11, 2021 at 9:45 PM Dave Seidel <dave.seidel@gmail.com> wrote:
Pi build steps are documented along with the other platforms: https://github.com/csound/csound/blob/develop/BUILD.md#raspian

These are the steps I follow.

On Sun, Jul 11, 2021 at 8:41 PM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
Hello Csound Developers, Hello Guilio,

In the downloads section on Csounds.com, is there any chance that we could be hosting a link to the following:

6.16.1 build for Bela
6.16.1 build for RaspberryPi

and maybe (dreaming here) a set of step-by-step build instructions for how to build for the latest source on both of these very popular and increasingly powerful and affordable platforms.

One can pretty easily install 'a' version of Csound on the Bela (but not the most current release)

One can even easier install 'a' version of Csound on the Pi (but not the most current release)

And one can even pretty easily install 'a' version of CsoundQt on the Pi too (but not the most current)

I have been so excited to be able to use Homebrew (thanks to Steven Yi and to everyone who made this so easy to do!) to locally build Csound on MacOS Catalina (Intel Mac) and Big Sur (M1 Mac). This has allowed me to work and collaborate with John ffitch every Friday over Zoom for the past 1.5 years - it's been so so so inspiring!

I know that there are some of you out there who are building for the Pi
I know that there are some of you out there (Gulio, Alex, Bernt) who are building for the Bela

It would be so great to have these builds hosted at Csounds.com and even more inspiring to have a working set of steps so that as new opcodes are added, one could experiment with them as they are developed and shared and prior to the next release.

Thanks for your consideration

- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division


Date2021-07-12 04:17
From"Dr. Richard Boulanger"
SubjectRe: [Csnd-dev] Request for Link and Step by Step Instructions - Csound on Bela, Csound on RaspberryPi
PS:  Here is what is in my current sources.list file (following the suggestion on the page)

pi@raspberrypi:/etc/apt $ cat sources.list
deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
deb-src http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi

- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Sun, Jul 11, 2021 at 10:54 PM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
And after that, I tried

pi@raspberrypi:~ $ sudo apt-get build-dep csound
Reading package lists... Done
E: You must put some 'source' URIs in your sources.list

- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Sun, Jul 11, 2021 at 10:52 PM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
Thanks, Dave
 - I have a new 400 and will try right now and report back.

OK so following these steps I get
1. it's a read-only file and you can't save to it
- so I sudo chmod 777 the file and use nano to edit
2. I run sudo apt-get-update and get the following:
pi@raspberrypi:~ $ sudo apt-get update
Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]                                              
Ign:3 http://mirrordirector.raspbian.org/raspbian wheezy InRelease                              
Err:4 http://mirrordirector.raspbian.org/raspbian wheezy Release
  404  Not Found [IP: 93.93.128.193 80]
Get:5 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
Get:6 http://archive.raspberrypi.org/debian buster/main armhf Packages [376 kB]
Reading package lists... Done                                                                                                          
E: The repository 'http://mirrordirector.raspbian.org/raspbian wheezy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.



- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Sun, Jul 11, 2021 at 9:45 PM Dave Seidel <dave.seidel@gmail.com> wrote:
Pi build steps are documented along with the other platforms: https://github.com/csound/csound/blob/develop/BUILD.md#raspian

These are the steps I follow.

On Sun, Jul 11, 2021 at 8:41 PM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
Hello Csound Developers, Hello Guilio,

In the downloads section on Csounds.com, is there any chance that we could be hosting a link to the following:

6.16.1 build for Bela
6.16.1 build for RaspberryPi

and maybe (dreaming here) a set of step-by-step build instructions for how to build for the latest source on both of these very popular and increasingly powerful and affordable platforms.

One can pretty easily install 'a' version of Csound on the Bela (but not the most current release)

One can even easier install 'a' version of Csound on the Pi (but not the most current release)

And one can even pretty easily install 'a' version of CsoundQt on the Pi too (but not the most current)

I have been so excited to be able to use Homebrew (thanks to Steven Yi and to everyone who made this so easy to do!) to locally build Csound on MacOS Catalina (Intel Mac) and Big Sur (M1 Mac). This has allowed me to work and collaborate with John ffitch every Friday over Zoom for the past 1.5 years - it's been so so so inspiring!

I know that there are some of you out there who are building for the Pi
I know that there are some of you out there (Gulio, Alex, Bernt) who are building for the Bela

It would be so great to have these builds hosted at Csounds.com and even more inspiring to have a working set of steps so that as new opcodes are added, one could experiment with them as they are developed and shared and prior to the next release.

Thanks for your consideration

- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division


Date2021-07-12 04:26
From"Dr. Richard Boulanger"
SubjectRe: [Csnd-dev] Request for Link and Step by Step Instructions - Csound on Bela, Csound on RaspberryPi
So.  I uncommented the other line in the sources.list file and tried again.
I ran the sudo apt-get update
- it installed and updates some things
followed by the sudo apt-get build-dep csound
- it installed more things that seems like they related to csound

I then followed more of the steps - clone, mkdir, etc.
It then told me that I didn't have cmake 
- I sudo apt-get install cmake

then some errors
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/home/pi/csound/csound/OOps/pffft.c: In function \u2018passf2_ps\u2019:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1941:1: error: inlining failed in call to always_inline \u2018vsubq_f32\u2019: target specific option mismatch
 vsubq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:165:21: note: called from here
 #  define VSUB(a,b) vsubq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:284:23: note: in expansion of macro \u2018VSUB\u2019
       ch[l1ido + 1] = VSUB(cc[1], cc[ido+1]);
                       ^~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:610:1: error: inlining failed in call to always_inline \u2018vaddq_f32\u2019: target specific option mismatch
 vaddq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:163:21: note: called from here
 #  define VADD(a,b) vaddq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:283:23: note: in expansion of macro \u2018VADD\u2019
       ch[1]         = VADD(cc[1], cc[ido+1]);
                       ^~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1941:1: error: inlining failed in call to always_inline \u2018vsubq_f32\u2019: target specific option mismatch
 vsubq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:165:21: note: called from here
 #  define VSUB(a,b) vsubq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:282:23: note: in expansion of macro \u2018VSUB\u2019
       ch[l1ido]     = VSUB(cc[0], cc[ido+0]);
                       ^~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:610:1: error: inlining failed in call to always_inline \u2018vaddq_f32\u2019: target specific option mismatch
 vaddq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:163:21: note: called from here
 #  define VADD(a,b) vaddq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:281:23: note: in expansion of macro \u2018VADD\u2019
       ch[0]         = VADD(cc[0], cc[ido+0]);
                       ^~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:610:1: error: inlining failed in call to always_inline \u2018vaddq_f32\u2019: target specific option mismatch
 vaddq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:163:21: note: called from here
 #  define VADD(a,b) vaddq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:201:120: note: in expansion of macro \u2018VADD\u2019
 #define VCPLXMUL(ar,ai,br,bi) { v4sf tmp; tmp=VMUL(ar,bi); ar=VMUL(ar,br); ar=VSUB(ar,VMUL(ai,bi)); ai=VMUL(ai,br); ai=VADD(ai,tmp); }
                                                                                                                        ^~~~
/home/pi/csound/csound/OOps/pffft.c:294:9: note: in expansion of macro \u2018VCPLXMUL\u2019
         VCPLXMUL(tr2, ti2, wr, wi);
         ^~~~~~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1172:1: error: inlining failed in call to always_inline \u2018vmulq_f32\u2019: target specific option mismatch
 vmulq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:162:21: note: called from here
 #  define VMUL(a,b) vmulq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:201:104: note: in expansion of macro \u2018VMUL\u2019
 #define VCPLXMUL(ar,ai,br,bi) { v4sf tmp; tmp=VMUL(ar,bi); ar=VMUL(ar,br); ar=VSUB(ar,VMUL(ai,bi)); ai=VMUL(ai,br); ai=VADD(ai,tmp); }
                                                                                                        ^~~~
/home/pi/csound/csound/OOps/pffft.c:294:9: note: in expansion of macro \u2018VCPLXMUL\u2019
         VCPLXMUL(tr2, ti2, wr, wi);
         ^~~~~~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1941:1: error: inlining failed in call to always_inline \u2018vsubq_f32\u2019: target specific option mismatch
 vsubq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:165:21: note: called from here
 #  define VSUB(a,b) vsubq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:201:79: note: in expansion of macro \u2018VSUB\u2019
 #define VCPLXMUL(ar,ai,br,bi) { v4sf tmp; tmp=VMUL(ar,bi); ar=VMUL(ar,br); ar=VSUB(ar,VMUL(ai,bi)); ai=VMUL(ai,br); ai=VADD(ai,tmp); }
                                                                               ^~~~
/home/pi/csound/csound/OOps/pffft.c:294:9: note: in expansion of macro \u2018VCPLXMUL\u2019
         VCPLXMUL(tr2, ti2, wr, wi);
         ^~~~~~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1172:1: error: inlining failed in call to always_inline \u2018vmulq_f32\u2019: target specific option mismatch
 vmulq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:165:21: note: called from here
 #  define VSUB(a,b) vsubq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:201:79: note: in expansion of macro \u2018VSUB\u2019
 #define VCPLXMUL(ar,ai,br,bi) { v4sf tmp; tmp=VMUL(ar,bi); ar=VMUL(ar,br); ar=VSUB(ar,VMUL(ai,bi)); ai=VMUL(ai,br); ai=VADD(ai,tmp); }
                                                                               ^~~~
/home/pi/csound/csound/OOps/pffft.c:294:9: note: in expansion of macro \u2018VCPLXMUL\u2019
         VCPLXMUL(tr2, ti2, wr, wi);
         ^~~~~~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1172:1: error: inlining failed in call to always_inline \u2018vmulq_f32\u2019: target specific option mismatch
 vmulq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:162:21: note: called from here
 #  define VMUL(a,b) vmulq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:201:63: note: in expansion of macro \u2018VMUL\u2019
 #define VCPLXMUL(ar,ai,br,bi) { v4sf tmp; tmp=VMUL(ar,bi); ar=VMUL(ar,br); ar=VSUB(ar,VMUL(ai,bi)); ai=VMUL(ai,br); ai=VADD(ai,tmp); }
                                                               ^~~~
/home/pi/csound/csound/OOps/pffft.c:294:9: note: in expansion of macro \u2018VCPLXMUL\u2019
         VCPLXMUL(tr2, ti2, wr, wi);
         ^~~~~~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1172:1: error: inlining failed in call to always_inline \u2018vmulq_f32\u2019: target specific option mismatch
 vmulq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:162:21: note: called from here
 #  define VMUL(a,b) vmulq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:201:47: note: in expansion of macro \u2018VMUL\u2019
 #define VCPLXMUL(ar,ai,br,bi) { v4sf tmp; tmp=VMUL(ar,bi); ar=VMUL(ar,br); ar=VSUB(ar,VMUL(ai,bi)); ai=VMUL(ai,br); ai=VADD(ai,tmp); }
                                               ^~~~
/home/pi/csound/csound/OOps/pffft.c:294:9: note: in expansion of macro \u2018VCPLXMUL\u2019
         VCPLXMUL(tr2, ti2, wr, wi);
         ^~~~~~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:610:1: error: inlining failed in call to always_inline \u2018vaddq_f32\u2019: target specific option mismatch
 vaddq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:163:21: note: called from here
 #  define VADD(a,b) vaddq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:293:19: note: in expansion of macro \u2018VADD\u2019
         ch[i+1] = VADD(cc[i+1], cc[i+ido+1]);
                   ^~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:610:1: error: inlining failed in call to always_inline \u2018vaddq_f32\u2019: target specific option mismatch
 vaddq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:163:21: note: called from here
 #  define VADD(a,b) vaddq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:292:19: note: in expansion of macro \u2018VADD\u2019
         ch[i]   = VADD(cc[i+0], cc[i+ido+0]);
                   ^~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1172:1: error: inlining failed in call to always_inline \u2018vmulq_f32\u2019: target specific option mismatch
 vmulq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:162:21: note: called from here
 #  define VMUL(a,b) vmulq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:291:40: note: in expansion of macro \u2018VMUL\u2019
         v4sf wr = LD_PS1(wa1[i]), wi = VMUL(LD_PS1(fsign), LD_PS1(wa1[i+1]));
                                        ^~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:10761:1: error: inlining failed in call to always_inline \u2018vld1q_dup_f32\u2019: target specific option mismatch
 vld1q_dup_f32 (const float32_t * __a)
 ^~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:162:21: note: called from here
 #  define VMUL(a,b) vmulq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:291:40: note: in expansion of macro \u2018VMUL\u2019
         v4sf wr = LD_PS1(wa1[i]), wi = VMUL(LD_PS1(fsign), LD_PS1(wa1[i+1]));
                                        ^~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:10761:1: error: inlining failed in call to always_inline \u2018vld1q_dup_f32\u2019: target specific option mismatch
 vld1q_dup_f32 (const float32_t * __a)
 ^~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:162:21: note: called from here
 #  define VMUL(a,b) vmulq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:291:40: note: in expansion of macro \u2018VMUL\u2019
         v4sf wr = LD_PS1(wa1[i]), wi = VMUL(LD_PS1(fsign), LD_PS1(wa1[i+1]));
                                        ^~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:10761:1: error: inlining failed in call to always_inline \u2018vld1q_dup_f32\u2019: target specific option mismatch
 vld1q_dup_f32 (const float32_t * __a)
 ^~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:166:21: note: called from here
 #  define LD_PS1(p) vld1q_dup_f32(&(p))
                     ^~~~~~~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:291:19: note: in expansion of macro \u2018LD_PS1\u2019
         v4sf wr = LD_PS1(wa1[i]), wi = VMUL(LD_PS1(fsign), LD_PS1(wa1[i+1]));
                   ^~~~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1941:1: error: inlining failed in call to always_inline \u2018vsubq_f32\u2019: target specific option mismatch
 vsubq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:165:21: note: called from here
 #  define VSUB(a,b) vsubq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:290:20: note: in expansion of macro \u2018VSUB\u2019
         v4sf ti2 = VSUB(cc[i+1], cc[i+ido+1]);
                    ^~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1941:1: error: inlining failed in call to always_inline \u2018vsubq_f32\u2019: target specific option mismatch
 vsubq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:165:21: note: called from here
 #  define VSUB(a,b) vsubq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:289:20: note: in expansion of macro \u2018VSUB\u2019
         v4sf tr2 = VSUB(cc[i+0], cc[i+ido+0]);
                    ^~~~
make[2]: *** [CMakeFiles/csound64.dir/build.make:642: CMakeFiles/csound64.dir/OOps/pffft.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:740: CMakeFiles/csound64.dir/all] Error 2
make: *** [Makefile:163: all] Error 2


=====
ls reveals this

pi@raspberrypi:~/csound/cs6make $ ls
Bela                        csound_orcparse.output  libcellular.so      libftsamplebank.so    libplaterev.so         libsterrain.so
CMakeCache.txt              csound_prelex.c         libchua.so          libgetftargs.so       libpmidi.so            libstkops.so
CMakeDoxyfile.in            csound_prslex.c         libcontrol.so       libgtf.so             libpvsops.so           libsystem_call.so
CMakeDoxygenDefaults.cmake  CTestTestfile.cmake     libcounter.so       libipmidi.so          libquadbezier.so       libtrigenvsegs.so
CMakeFiles                  Doxyfile                libcs_date.so       libjacko.so           librtalsa.so           liburandom.so
cmake_install.cmake         Frontends               libdoppler.so       libjackTransport.so   librtpa.so             libvirtual.so
cmake_uninstall.cmake       include                 libdssi4cs.so       libjoystick.so        librtpulse.so          libwidgets.so
compile_commands.json       InOut                   libemugens.so       liblfsr.so            libscansyn.so          Makefile
CPackConfig.cmake           interfaces              libexciter.so       liblinear_algebra.so  libscugens.so          Opcodes
CPackSourceConfig.cmake     libampmidid.so          libfareygen.so      libliveconv.so        libselect.so           po
csound_orclex.c             libarrayops.so          libfluidOpcodes.so  libmixer.so           libserial.so           tests
csound_orcparse.c           libbformdec2.so         libfractalnoise.so  libosc.so             libsignalflowgraph.so  util
csound_orcparse.h           libbuchla.so            libframebuffer.so   libpadsynth.so        libstackops.so         util1



- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Sun, Jul 11, 2021 at 11:17 PM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
PS:  Here is what is in my current sources.list file (following the suggestion on the page)

pi@raspberrypi:/etc/apt $ cat sources.list
deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
deb-src http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi

- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Sun, Jul 11, 2021 at 10:54 PM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
And after that, I tried

pi@raspberrypi:~ $ sudo apt-get build-dep csound
Reading package lists... Done
E: You must put some 'source' URIs in your sources.list

- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Sun, Jul 11, 2021 at 10:52 PM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
Thanks, Dave
 - I have a new 400 and will try right now and report back.

OK so following these steps I get
1. it's a read-only file and you can't save to it
- so I sudo chmod 777 the file and use nano to edit
2. I run sudo apt-get-update and get the following:
pi@raspberrypi:~ $ sudo apt-get update
Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]                                              
Ign:3 http://mirrordirector.raspbian.org/raspbian wheezy InRelease                              
Err:4 http://mirrordirector.raspbian.org/raspbian wheezy Release
  404  Not Found [IP: 93.93.128.193 80]
Get:5 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
Get:6 http://archive.raspberrypi.org/debian buster/main armhf Packages [376 kB]
Reading package lists... Done                                                                                                          
E: The repository 'http://mirrordirector.raspbian.org/raspbian wheezy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.



- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Sun, Jul 11, 2021 at 9:45 PM Dave Seidel <dave.seidel@gmail.com> wrote:
Pi build steps are documented along with the other platforms: https://github.com/csound/csound/blob/develop/BUILD.md#raspian

These are the steps I follow.

On Sun, Jul 11, 2021 at 8:41 PM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
Hello Csound Developers, Hello Guilio,

In the downloads section on Csounds.com, is there any chance that we could be hosting a link to the following:

6.16.1 build for Bela
6.16.1 build for RaspberryPi

and maybe (dreaming here) a set of step-by-step build instructions for how to build for the latest source on both of these very popular and increasingly powerful and affordable platforms.

One can pretty easily install 'a' version of Csound on the Bela (but not the most current release)

One can even easier install 'a' version of Csound on the Pi (but not the most current release)

And one can even pretty easily install 'a' version of CsoundQt on the Pi too (but not the most current)

I have been so excited to be able to use Homebrew (thanks to Steven Yi and to everyone who made this so easy to do!) to locally build Csound on MacOS Catalina (Intel Mac) and Big Sur (M1 Mac). This has allowed me to work and collaborate with John ffitch every Friday over Zoom for the past 1.5 years - it's been so so so inspiring!

I know that there are some of you out there who are building for the Pi
I know that there are some of you out there (Gulio, Alex, Bernt) who are building for the Bela

It would be so great to have these builds hosted at Csounds.com and even more inspiring to have a working set of steps so that as new opcodes are added, one could experiment with them as they are developed and shared and prior to the next release.

Thanks for your consideration

- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division


Date2021-07-12 11:41
FromDave Seidel
SubjectRe: [Csnd-dev] Request for Link and Step by Step Instructions - Csound on Bela, Csound on RaspberryPi
Those errors are addressed in the section "NEON support for PFFFT lib", the first paragraph of which includes the sentence that begins "If a build error occurs in the compilation of pffft.c...".

All such build instructions (meaning the Pi build steps as a whole) could be improved with a more highly-detailed version for people without much prior experience building software on Linux or Linux-type systems, which is not really in the scope of documents at this level. In general, the missing details have nothing to do with Csound per se, and apply to nearly all source packages. The single biggest lack in this case is probably the installation of cmake.

Yes, it would be nice to have pre-built binaries for the Pi, as well as better build instructions. Once I retire (which is not unreasonably far in the future), I'll have more time to help with things like this (and Csound development in general).

- Dave


On Sun, Jul 11, 2021 at 11:27 PM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
So.  I uncommented the other line in the sources.list file and tried again.
I ran the sudo apt-get update
- it installed and updates some things
followed by the sudo apt-get build-dep csound
- it installed more things that seems like they related to csound

I then followed more of the steps - clone, mkdir, etc.
It then told me that I didn't have cmake 
- I sudo apt-get install cmake

then some errors
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/home/pi/csound/csound/OOps/pffft.c: In function \u2018passf2_ps\u2019:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1941:1: error: inlining failed in call to always_inline \u2018vsubq_f32\u2019: target specific option mismatch
 vsubq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:165:21: note: called from here
 #  define VSUB(a,b) vsubq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:284:23: note: in expansion of macro \u2018VSUB\u2019
       ch[l1ido + 1] = VSUB(cc[1], cc[ido+1]);
                       ^~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:610:1: error: inlining failed in call to always_inline \u2018vaddq_f32\u2019: target specific option mismatch
 vaddq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:163:21: note: called from here
 #  define VADD(a,b) vaddq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:283:23: note: in expansion of macro \u2018VADD\u2019
       ch[1]         = VADD(cc[1], cc[ido+1]);
                       ^~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1941:1: error: inlining failed in call to always_inline \u2018vsubq_f32\u2019: target specific option mismatch
 vsubq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:165:21: note: called from here
 #  define VSUB(a,b) vsubq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:282:23: note: in expansion of macro \u2018VSUB\u2019
       ch[l1ido]     = VSUB(cc[0], cc[ido+0]);
                       ^~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:610:1: error: inlining failed in call to always_inline \u2018vaddq_f32\u2019: target specific option mismatch
 vaddq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:163:21: note: called from here
 #  define VADD(a,b) vaddq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:281:23: note: in expansion of macro \u2018VADD\u2019
       ch[0]         = VADD(cc[0], cc[ido+0]);
                       ^~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:610:1: error: inlining failed in call to always_inline \u2018vaddq_f32\u2019: target specific option mismatch
 vaddq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:163:21: note: called from here
 #  define VADD(a,b) vaddq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:201:120: note: in expansion of macro \u2018VADD\u2019
 #define VCPLXMUL(ar,ai,br,bi) { v4sf tmp; tmp=VMUL(ar,bi); ar=VMUL(ar,br); ar=VSUB(ar,VMUL(ai,bi)); ai=VMUL(ai,br); ai=VADD(ai,tmp); }
                                                                                                                        ^~~~
/home/pi/csound/csound/OOps/pffft.c:294:9: note: in expansion of macro \u2018VCPLXMUL\u2019
         VCPLXMUL(tr2, ti2, wr, wi);
         ^~~~~~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1172:1: error: inlining failed in call to always_inline \u2018vmulq_f32\u2019: target specific option mismatch
 vmulq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:162:21: note: called from here
 #  define VMUL(a,b) vmulq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:201:104: note: in expansion of macro \u2018VMUL\u2019
 #define VCPLXMUL(ar,ai,br,bi) { v4sf tmp; tmp=VMUL(ar,bi); ar=VMUL(ar,br); ar=VSUB(ar,VMUL(ai,bi)); ai=VMUL(ai,br); ai=VADD(ai,tmp); }
                                                                                                        ^~~~
/home/pi/csound/csound/OOps/pffft.c:294:9: note: in expansion of macro \u2018VCPLXMUL\u2019
         VCPLXMUL(tr2, ti2, wr, wi);
         ^~~~~~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1941:1: error: inlining failed in call to always_inline \u2018vsubq_f32\u2019: target specific option mismatch
 vsubq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:165:21: note: called from here
 #  define VSUB(a,b) vsubq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:201:79: note: in expansion of macro \u2018VSUB\u2019
 #define VCPLXMUL(ar,ai,br,bi) { v4sf tmp; tmp=VMUL(ar,bi); ar=VMUL(ar,br); ar=VSUB(ar,VMUL(ai,bi)); ai=VMUL(ai,br); ai=VADD(ai,tmp); }
                                                                               ^~~~
/home/pi/csound/csound/OOps/pffft.c:294:9: note: in expansion of macro \u2018VCPLXMUL\u2019
         VCPLXMUL(tr2, ti2, wr, wi);
         ^~~~~~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1172:1: error: inlining failed in call to always_inline \u2018vmulq_f32\u2019: target specific option mismatch
 vmulq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:165:21: note: called from here
 #  define VSUB(a,b) vsubq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:201:79: note: in expansion of macro \u2018VSUB\u2019
 #define VCPLXMUL(ar,ai,br,bi) { v4sf tmp; tmp=VMUL(ar,bi); ar=VMUL(ar,br); ar=VSUB(ar,VMUL(ai,bi)); ai=VMUL(ai,br); ai=VADD(ai,tmp); }
                                                                               ^~~~
/home/pi/csound/csound/OOps/pffft.c:294:9: note: in expansion of macro \u2018VCPLXMUL\u2019
         VCPLXMUL(tr2, ti2, wr, wi);
         ^~~~~~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1172:1: error: inlining failed in call to always_inline \u2018vmulq_f32\u2019: target specific option mismatch
 vmulq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:162:21: note: called from here
 #  define VMUL(a,b) vmulq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:201:63: note: in expansion of macro \u2018VMUL\u2019
 #define VCPLXMUL(ar,ai,br,bi) { v4sf tmp; tmp=VMUL(ar,bi); ar=VMUL(ar,br); ar=VSUB(ar,VMUL(ai,bi)); ai=VMUL(ai,br); ai=VADD(ai,tmp); }
                                                               ^~~~
/home/pi/csound/csound/OOps/pffft.c:294:9: note: in expansion of macro \u2018VCPLXMUL\u2019
         VCPLXMUL(tr2, ti2, wr, wi);
         ^~~~~~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1172:1: error: inlining failed in call to always_inline \u2018vmulq_f32\u2019: target specific option mismatch
 vmulq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:162:21: note: called from here
 #  define VMUL(a,b) vmulq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:201:47: note: in expansion of macro \u2018VMUL\u2019
 #define VCPLXMUL(ar,ai,br,bi) { v4sf tmp; tmp=VMUL(ar,bi); ar=VMUL(ar,br); ar=VSUB(ar,VMUL(ai,bi)); ai=VMUL(ai,br); ai=VADD(ai,tmp); }
                                               ^~~~
/home/pi/csound/csound/OOps/pffft.c:294:9: note: in expansion of macro \u2018VCPLXMUL\u2019
         VCPLXMUL(tr2, ti2, wr, wi);
         ^~~~~~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:610:1: error: inlining failed in call to always_inline \u2018vaddq_f32\u2019: target specific option mismatch
 vaddq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:163:21: note: called from here
 #  define VADD(a,b) vaddq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:293:19: note: in expansion of macro \u2018VADD\u2019
         ch[i+1] = VADD(cc[i+1], cc[i+ido+1]);
                   ^~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:610:1: error: inlining failed in call to always_inline \u2018vaddq_f32\u2019: target specific option mismatch
 vaddq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:163:21: note: called from here
 #  define VADD(a,b) vaddq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:292:19: note: in expansion of macro \u2018VADD\u2019
         ch[i]   = VADD(cc[i+0], cc[i+ido+0]);
                   ^~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1172:1: error: inlining failed in call to always_inline \u2018vmulq_f32\u2019: target specific option mismatch
 vmulq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:162:21: note: called from here
 #  define VMUL(a,b) vmulq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:291:40: note: in expansion of macro \u2018VMUL\u2019
         v4sf wr = LD_PS1(wa1[i]), wi = VMUL(LD_PS1(fsign), LD_PS1(wa1[i+1]));
                                        ^~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:10761:1: error: inlining failed in call to always_inline \u2018vld1q_dup_f32\u2019: target specific option mismatch
 vld1q_dup_f32 (const float32_t * __a)
 ^~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:162:21: note: called from here
 #  define VMUL(a,b) vmulq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:291:40: note: in expansion of macro \u2018VMUL\u2019
         v4sf wr = LD_PS1(wa1[i]), wi = VMUL(LD_PS1(fsign), LD_PS1(wa1[i+1]));
                                        ^~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:10761:1: error: inlining failed in call to always_inline \u2018vld1q_dup_f32\u2019: target specific option mismatch
 vld1q_dup_f32 (const float32_t * __a)
 ^~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:162:21: note: called from here
 #  define VMUL(a,b) vmulq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:291:40: note: in expansion of macro \u2018VMUL\u2019
         v4sf wr = LD_PS1(wa1[i]), wi = VMUL(LD_PS1(fsign), LD_PS1(wa1[i+1]));
                                        ^~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:10761:1: error: inlining failed in call to always_inline \u2018vld1q_dup_f32\u2019: target specific option mismatch
 vld1q_dup_f32 (const float32_t * __a)
 ^~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:166:21: note: called from here
 #  define LD_PS1(p) vld1q_dup_f32(&(p))
                     ^~~~~~~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:291:19: note: in expansion of macro \u2018LD_PS1\u2019
         v4sf wr = LD_PS1(wa1[i]), wi = VMUL(LD_PS1(fsign), LD_PS1(wa1[i+1]));
                   ^~~~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1941:1: error: inlining failed in call to always_inline \u2018vsubq_f32\u2019: target specific option mismatch
 vsubq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:165:21: note: called from here
 #  define VSUB(a,b) vsubq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:290:20: note: in expansion of macro \u2018VSUB\u2019
         v4sf ti2 = VSUB(cc[i+1], cc[i+ido+1]);
                    ^~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1941:1: error: inlining failed in call to always_inline \u2018vsubq_f32\u2019: target specific option mismatch
 vsubq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:165:21: note: called from here
 #  define VSUB(a,b) vsubq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:289:20: note: in expansion of macro \u2018VSUB\u2019
         v4sf tr2 = VSUB(cc[i+0], cc[i+ido+0]);
                    ^~~~
make[2]: *** [CMakeFiles/csound64.dir/build.make:642: CMakeFiles/csound64.dir/OOps/pffft.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:740: CMakeFiles/csound64.dir/all] Error 2
make: *** [Makefile:163: all] Error 2


=====
ls reveals this

pi@raspberrypi:~/csound/cs6make $ ls
Bela                        csound_orcparse.output  libcellular.so      libftsamplebank.so    libplaterev.so         libsterrain.so
CMakeCache.txt              csound_prelex.c         libchua.so          libgetftargs.so       libpmidi.so            libstkops.so
CMakeDoxyfile.in            csound_prslex.c         libcontrol.so       libgtf.so             libpvsops.so           libsystem_call.so
CMakeDoxygenDefaults.cmake  CTestTestfile.cmake     libcounter.so       libipmidi.so          libquadbezier.so       libtrigenvsegs.so
CMakeFiles                  Doxyfile                libcs_date.so       libjacko.so           librtalsa.so           liburandom.so
cmake_install.cmake         Frontends               libdoppler.so       libjackTransport.so   librtpa.so             libvirtual.so
cmake_uninstall.cmake       include                 libdssi4cs.so       libjoystick.so        librtpulse.so          libwidgets.so
compile_commands.json       InOut                   libemugens.so       liblfsr.so            libscansyn.so          Makefile
CPackConfig.cmake           interfaces              libexciter.so       liblinear_algebra.so  libscugens.so          Opcodes
CPackSourceConfig.cmake     libampmidid.so          libfareygen.so      libliveconv.so        libselect.so           po
csound_orclex.c             libarrayops.so          libfluidOpcodes.so  libmixer.so           libserial.so           tests
csound_orcparse.c           libbformdec2.so         libfractalnoise.so  libosc.so             libsignalflowgraph.so  util
csound_orcparse.h           libbuchla.so            libframebuffer.so   libpadsynth.so        libstackops.so         util1



- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Sun, Jul 11, 2021 at 11:17 PM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
PS:  Here is what is in my current sources.list file (following the suggestion on the page)

pi@raspberrypi:/etc/apt $ cat sources.list
deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
deb-src http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi

- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Sun, Jul 11, 2021 at 10:54 PM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
And after that, I tried

pi@raspberrypi:~ $ sudo apt-get build-dep csound
Reading package lists... Done
E: You must put some 'source' URIs in your sources.list

- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Sun, Jul 11, 2021 at 10:52 PM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
Thanks, Dave
 - I have a new 400 and will try right now and report back.

OK so following these steps I get
1. it's a read-only file and you can't save to it
- so I sudo chmod 777 the file and use nano to edit
2. I run sudo apt-get-update and get the following:
pi@raspberrypi:~ $ sudo apt-get update
Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]                                              
Ign:3 http://mirrordirector.raspbian.org/raspbian wheezy InRelease                              
Err:4 http://mirrordirector.raspbian.org/raspbian wheezy Release
  404  Not Found [IP: 93.93.128.193 80]
Get:5 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
Get:6 http://archive.raspberrypi.org/debian buster/main armhf Packages [376 kB]
Reading package lists... Done                                                                                                          
E: The repository 'http://mirrordirector.raspbian.org/raspbian wheezy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.



- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Sun, Jul 11, 2021 at 9:45 PM Dave Seidel <dave.seidel@gmail.com> wrote:
Pi build steps are documented along with the other platforms: https://github.com/csound/csound/blob/develop/BUILD.md#raspian

These are the steps I follow.

On Sun, Jul 11, 2021 at 8:41 PM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
Hello Csound Developers, Hello Guilio,

In the downloads section on Csounds.com, is there any chance that we could be hosting a link to the following:

6.16.1 build for Bela
6.16.1 build for RaspberryPi

and maybe (dreaming here) a set of step-by-step build instructions for how to build for the latest source on both of these very popular and increasingly powerful and affordable platforms.

One can pretty easily install 'a' version of Csound on the Bela (but not the most current release)

One can even easier install 'a' version of Csound on the Pi (but not the most current release)

And one can even pretty easily install 'a' version of CsoundQt on the Pi too (but not the most current)

I have been so excited to be able to use Homebrew (thanks to Steven Yi and to everyone who made this so easy to do!) to locally build Csound on MacOS Catalina (Intel Mac) and Big Sur (M1 Mac). This has allowed me to work and collaborate with John ffitch every Friday over Zoom for the past 1.5 years - it's been so so so inspiring!

I know that there are some of you out there who are building for the Pi
I know that there are some of you out there (Gulio, Alex, Bernt) who are building for the Bela

It would be so great to have these builds hosted at Csounds.com and even more inspiring to have a working set of steps so that as new opcodes are added, one could experiment with them as they are developed and shared and prior to the next release.

Thanks for your consideration

- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division


Date2021-07-12 16:43
From"Dr. Richard Boulanger"
SubjectRe: [Csnd-dev] Request for Link and Step by Step Instructions - Csound on Bela, Csound on RaspberryPi
Dave,

Thanks for your help, advice, and inspiration.

I am not yet retired either and teaching 6 classes this semester (and every semester) 
- and am happy to just show them all Csound running on a Pi with CsoundQt (it's simple, great - just not up to date).

I was wanting to share this option with my (more advanced) Circuit-Bending and Physical Computing Class -
I also wanted to work on this with John ffitch next week. (He and I both have the same Raspbery Pi 4 all in one kits
and I am quite confident that "he" could get it to install the latest on his system - just trying to get a jump on that 
session (and hoping the directions would just work for me).  ((I did review the previous discussion on the list of this
between you, zappfinger, and others - and that is what inspired me to ask it 'these' directions were complete or accurate.

Yes, installing cmake is also required and might be a good step to add
Also, clarifying that one needs to uncomment a line in the source.list file to allow for updating some of the dependencies
(Note: I did not report this, but it complained that I was missing sndfile at one point)

I will continue with the NEON steps and see if that works.

Forgive me, but to me, it was not clear, from the layout and descriptions of the manPage, that the NEON 'issues' were another part of the (you might also need to do this to install the latest Csound on a new - out of the box - Raspberry Pi 

And, as you know, I am always advocating for my students (who might not 'yet' have much experience building on linux-systems or building from sources) and wanting them to have a great first 'user experience' as they explore and get deeper into what they can do with Csound.

Thank you so much for your new opcodes, your inspiring Pi system and work, and everything that you have shared - musically!

-R


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Mon, Jul 12, 2021 at 6:42 AM Dave Seidel <dave.seidel@gmail.com> wrote:
Those errors are addressed in the section "NEON support for PFFFT lib", the first paragraph of which includes the sentence that begins "If a build error occurs in the compilation of pffft.c...".

All such build instructions (meaning the Pi build steps as a whole) could be improved with a more highly-detailed version for people without much prior experience building software on Linux or Linux-type systems, which is not really in the scope of documents at this level. In general, the missing details have nothing to do with Csound per se, and apply to nearly all source packages. The single biggest lack in this case is probably the installation of cmake.

Yes, it would be nice to have pre-built binaries for the Pi, as well as better build instructions. Once I retire (which is not unreasonably far in the future), I'll have more time to help with things like this (and Csound development in general).

- Dave


On Sun, Jul 11, 2021 at 11:27 PM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
So.  I uncommented the other line in the sources.list file and tried again.
I ran the sudo apt-get update
- it installed and updates some things
followed by the sudo apt-get build-dep csound
- it installed more things that seems like they related to csound

I then followed more of the steps - clone, mkdir, etc.
It then told me that I didn't have cmake 
- I sudo apt-get install cmake

then some errors
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/home/pi/csound/csound/OOps/pffft.c: In function \u2018passf2_ps\u2019:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1941:1: error: inlining failed in call to always_inline \u2018vsubq_f32\u2019: target specific option mismatch
 vsubq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:165:21: note: called from here
 #  define VSUB(a,b) vsubq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:284:23: note: in expansion of macro \u2018VSUB\u2019
       ch[l1ido + 1] = VSUB(cc[1], cc[ido+1]);
                       ^~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:610:1: error: inlining failed in call to always_inline \u2018vaddq_f32\u2019: target specific option mismatch
 vaddq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:163:21: note: called from here
 #  define VADD(a,b) vaddq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:283:23: note: in expansion of macro \u2018VADD\u2019
       ch[1]         = VADD(cc[1], cc[ido+1]);
                       ^~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1941:1: error: inlining failed in call to always_inline \u2018vsubq_f32\u2019: target specific option mismatch
 vsubq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:165:21: note: called from here
 #  define VSUB(a,b) vsubq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:282:23: note: in expansion of macro \u2018VSUB\u2019
       ch[l1ido]     = VSUB(cc[0], cc[ido+0]);
                       ^~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:610:1: error: inlining failed in call to always_inline \u2018vaddq_f32\u2019: target specific option mismatch
 vaddq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:163:21: note: called from here
 #  define VADD(a,b) vaddq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:281:23: note: in expansion of macro \u2018VADD\u2019
       ch[0]         = VADD(cc[0], cc[ido+0]);
                       ^~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:610:1: error: inlining failed in call to always_inline \u2018vaddq_f32\u2019: target specific option mismatch
 vaddq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:163:21: note: called from here
 #  define VADD(a,b) vaddq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:201:120: note: in expansion of macro \u2018VADD\u2019
 #define VCPLXMUL(ar,ai,br,bi) { v4sf tmp; tmp=VMUL(ar,bi); ar=VMUL(ar,br); ar=VSUB(ar,VMUL(ai,bi)); ai=VMUL(ai,br); ai=VADD(ai,tmp); }
                                                                                                                        ^~~~
/home/pi/csound/csound/OOps/pffft.c:294:9: note: in expansion of macro \u2018VCPLXMUL\u2019
         VCPLXMUL(tr2, ti2, wr, wi);
         ^~~~~~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1172:1: error: inlining failed in call to always_inline \u2018vmulq_f32\u2019: target specific option mismatch
 vmulq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:162:21: note: called from here
 #  define VMUL(a,b) vmulq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:201:104: note: in expansion of macro \u2018VMUL\u2019
 #define VCPLXMUL(ar,ai,br,bi) { v4sf tmp; tmp=VMUL(ar,bi); ar=VMUL(ar,br); ar=VSUB(ar,VMUL(ai,bi)); ai=VMUL(ai,br); ai=VADD(ai,tmp); }
                                                                                                        ^~~~
/home/pi/csound/csound/OOps/pffft.c:294:9: note: in expansion of macro \u2018VCPLXMUL\u2019
         VCPLXMUL(tr2, ti2, wr, wi);
         ^~~~~~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1941:1: error: inlining failed in call to always_inline \u2018vsubq_f32\u2019: target specific option mismatch
 vsubq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:165:21: note: called from here
 #  define VSUB(a,b) vsubq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:201:79: note: in expansion of macro \u2018VSUB\u2019
 #define VCPLXMUL(ar,ai,br,bi) { v4sf tmp; tmp=VMUL(ar,bi); ar=VMUL(ar,br); ar=VSUB(ar,VMUL(ai,bi)); ai=VMUL(ai,br); ai=VADD(ai,tmp); }
                                                                               ^~~~
/home/pi/csound/csound/OOps/pffft.c:294:9: note: in expansion of macro \u2018VCPLXMUL\u2019
         VCPLXMUL(tr2, ti2, wr, wi);
         ^~~~~~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1172:1: error: inlining failed in call to always_inline \u2018vmulq_f32\u2019: target specific option mismatch
 vmulq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:165:21: note: called from here
 #  define VSUB(a,b) vsubq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:201:79: note: in expansion of macro \u2018VSUB\u2019
 #define VCPLXMUL(ar,ai,br,bi) { v4sf tmp; tmp=VMUL(ar,bi); ar=VMUL(ar,br); ar=VSUB(ar,VMUL(ai,bi)); ai=VMUL(ai,br); ai=VADD(ai,tmp); }
                                                                               ^~~~
/home/pi/csound/csound/OOps/pffft.c:294:9: note: in expansion of macro \u2018VCPLXMUL\u2019
         VCPLXMUL(tr2, ti2, wr, wi);
         ^~~~~~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1172:1: error: inlining failed in call to always_inline \u2018vmulq_f32\u2019: target specific option mismatch
 vmulq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:162:21: note: called from here
 #  define VMUL(a,b) vmulq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:201:63: note: in expansion of macro \u2018VMUL\u2019
 #define VCPLXMUL(ar,ai,br,bi) { v4sf tmp; tmp=VMUL(ar,bi); ar=VMUL(ar,br); ar=VSUB(ar,VMUL(ai,bi)); ai=VMUL(ai,br); ai=VADD(ai,tmp); }
                                                               ^~~~
/home/pi/csound/csound/OOps/pffft.c:294:9: note: in expansion of macro \u2018VCPLXMUL\u2019
         VCPLXMUL(tr2, ti2, wr, wi);
         ^~~~~~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1172:1: error: inlining failed in call to always_inline \u2018vmulq_f32\u2019: target specific option mismatch
 vmulq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:162:21: note: called from here
 #  define VMUL(a,b) vmulq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:201:47: note: in expansion of macro \u2018VMUL\u2019
 #define VCPLXMUL(ar,ai,br,bi) { v4sf tmp; tmp=VMUL(ar,bi); ar=VMUL(ar,br); ar=VSUB(ar,VMUL(ai,bi)); ai=VMUL(ai,br); ai=VADD(ai,tmp); }
                                               ^~~~
/home/pi/csound/csound/OOps/pffft.c:294:9: note: in expansion of macro \u2018VCPLXMUL\u2019
         VCPLXMUL(tr2, ti2, wr, wi);
         ^~~~~~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:610:1: error: inlining failed in call to always_inline \u2018vaddq_f32\u2019: target specific option mismatch
 vaddq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:163:21: note: called from here
 #  define VADD(a,b) vaddq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:293:19: note: in expansion of macro \u2018VADD\u2019
         ch[i+1] = VADD(cc[i+1], cc[i+ido+1]);
                   ^~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:610:1: error: inlining failed in call to always_inline \u2018vaddq_f32\u2019: target specific option mismatch
 vaddq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:163:21: note: called from here
 #  define VADD(a,b) vaddq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:292:19: note: in expansion of macro \u2018VADD\u2019
         ch[i]   = VADD(cc[i+0], cc[i+ido+0]);
                   ^~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1172:1: error: inlining failed in call to always_inline \u2018vmulq_f32\u2019: target specific option mismatch
 vmulq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:162:21: note: called from here
 #  define VMUL(a,b) vmulq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:291:40: note: in expansion of macro \u2018VMUL\u2019
         v4sf wr = LD_PS1(wa1[i]), wi = VMUL(LD_PS1(fsign), LD_PS1(wa1[i+1]));
                                        ^~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:10761:1: error: inlining failed in call to always_inline \u2018vld1q_dup_f32\u2019: target specific option mismatch
 vld1q_dup_f32 (const float32_t * __a)
 ^~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:162:21: note: called from here
 #  define VMUL(a,b) vmulq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:291:40: note: in expansion of macro \u2018VMUL\u2019
         v4sf wr = LD_PS1(wa1[i]), wi = VMUL(LD_PS1(fsign), LD_PS1(wa1[i+1]));
                                        ^~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:10761:1: error: inlining failed in call to always_inline \u2018vld1q_dup_f32\u2019: target specific option mismatch
 vld1q_dup_f32 (const float32_t * __a)
 ^~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:162:21: note: called from here
 #  define VMUL(a,b) vmulq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:291:40: note: in expansion of macro \u2018VMUL\u2019
         v4sf wr = LD_PS1(wa1[i]), wi = VMUL(LD_PS1(fsign), LD_PS1(wa1[i+1]));
                                        ^~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:10761:1: error: inlining failed in call to always_inline \u2018vld1q_dup_f32\u2019: target specific option mismatch
 vld1q_dup_f32 (const float32_t * __a)
 ^~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:166:21: note: called from here
 #  define LD_PS1(p) vld1q_dup_f32(&(p))
                     ^~~~~~~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:291:19: note: in expansion of macro \u2018LD_PS1\u2019
         v4sf wr = LD_PS1(wa1[i]), wi = VMUL(LD_PS1(fsign), LD_PS1(wa1[i+1]));
                   ^~~~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1941:1: error: inlining failed in call to always_inline \u2018vsubq_f32\u2019: target specific option mismatch
 vsubq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:165:21: note: called from here
 #  define VSUB(a,b) vsubq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:290:20: note: in expansion of macro \u2018VSUB\u2019
         v4sf ti2 = VSUB(cc[i+1], cc[i+ido+1]);
                    ^~~~
In file included from /home/pi/csound/csound/OOps/pffft.c:158:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:1941:1: error: inlining failed in call to always_inline \u2018vsubq_f32\u2019: target specific option mismatch
 vsubq_f32 (float32x4_t __a, float32x4_t __b)
 ^~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:165:21: note: called from here
 #  define VSUB(a,b) vsubq_f32(a,b)
                     ^~~~~~~~~~~~~~
/home/pi/csound/csound/OOps/pffft.c:289:20: note: in expansion of macro \u2018VSUB\u2019
         v4sf tr2 = VSUB(cc[i+0], cc[i+ido+0]);
                    ^~~~
make[2]: *** [CMakeFiles/csound64.dir/build.make:642: CMakeFiles/csound64.dir/OOps/pffft.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:740: CMakeFiles/csound64.dir/all] Error 2
make: *** [Makefile:163: all] Error 2


=====
ls reveals this

pi@raspberrypi:~/csound/cs6make $ ls
Bela                        csound_orcparse.output  libcellular.so      libftsamplebank.so    libplaterev.so         libsterrain.so
CMakeCache.txt              csound_prelex.c         libchua.so          libgetftargs.so       libpmidi.so            libstkops.so
CMakeDoxyfile.in            csound_prslex.c         libcontrol.so       libgtf.so             libpvsops.so           libsystem_call.so
CMakeDoxygenDefaults.cmake  CTestTestfile.cmake     libcounter.so       libipmidi.so          libquadbezier.so       libtrigenvsegs.so
CMakeFiles                  Doxyfile                libcs_date.so       libjacko.so           librtalsa.so           liburandom.so
cmake_install.cmake         Frontends               libdoppler.so       libjackTransport.so   librtpa.so             libvirtual.so
cmake_uninstall.cmake       include                 libdssi4cs.so       libjoystick.so        librtpulse.so          libwidgets.so
compile_commands.json       InOut                   libemugens.so       liblfsr.so            libscansyn.so          Makefile
CPackConfig.cmake           interfaces              libexciter.so       liblinear_algebra.so  libscugens.so          Opcodes
CPackSourceConfig.cmake     libampmidid.so          libfareygen.so      libliveconv.so        libselect.so           po
csound_orclex.c             libarrayops.so          libfluidOpcodes.so  libmixer.so           libserial.so           tests
csound_orcparse.c           libbformdec2.so         libfractalnoise.so  libosc.so             libsignalflowgraph.so  util
csound_orcparse.h           libbuchla.so            libframebuffer.so   libpadsynth.so        libstackops.so         util1



- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Sun, Jul 11, 2021 at 11:17 PM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
PS:  Here is what is in my current sources.list file (following the suggestion on the page)

pi@raspberrypi:/etc/apt $ cat sources.list
deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
deb-src http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi

- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Sun, Jul 11, 2021 at 10:54 PM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
And after that, I tried

pi@raspberrypi:~ $ sudo apt-get build-dep csound
Reading package lists... Done
E: You must put some 'source' URIs in your sources.list

- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Sun, Jul 11, 2021 at 10:52 PM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
Thanks, Dave
 - I have a new 400 and will try right now and report back.

OK so following these steps I get
1. it's a read-only file and you can't save to it
- so I sudo chmod 777 the file and use nano to edit
2. I run sudo apt-get-update and get the following:
pi@raspberrypi:~ $ sudo apt-get update
Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]                                              
Ign:3 http://mirrordirector.raspbian.org/raspbian wheezy InRelease                              
Err:4 http://mirrordirector.raspbian.org/raspbian wheezy Release
  404  Not Found [IP: 93.93.128.193 80]
Get:5 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
Get:6 http://archive.raspberrypi.org/debian buster/main armhf Packages [376 kB]
Reading package lists... Done                                                                                                          
E: The repository 'http://mirrordirector.raspbian.org/raspbian wheezy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.



- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Sun, Jul 11, 2021 at 9:45 PM Dave Seidel <dave.seidel@gmail.com> wrote:
Pi build steps are documented along with the other platforms: https://github.com/csound/csound/blob/develop/BUILD.md#raspian

These are the steps I follow.

On Sun, Jul 11, 2021 at 8:41 PM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
Hello Csound Developers, Hello Guilio,

In the downloads section on Csounds.com, is there any chance that we could be hosting a link to the following:

6.16.1 build for Bela
6.16.1 build for RaspberryPi

and maybe (dreaming here) a set of step-by-step build instructions for how to build for the latest source on both of these very popular and increasingly powerful and affordable platforms.

One can pretty easily install 'a' version of Csound on the Bela (but not the most current release)

One can even easier install 'a' version of Csound on the Pi (but not the most current release)

And one can even pretty easily install 'a' version of CsoundQt on the Pi too (but not the most current)

I have been so excited to be able to use Homebrew (thanks to Steven Yi and to everyone who made this so easy to do!) to locally build Csound on MacOS Catalina (Intel Mac) and Big Sur (M1 Mac). This has allowed me to work and collaborate with John ffitch every Friday over Zoom for the past 1.5 years - it's been so so so inspiring!

I know that there are some of you out there who are building for the Pi
I know that there are some of you out there (Gulio, Alex, Bernt) who are building for the Bela

It would be so great to have these builds hosted at Csounds.com and even more inspiring to have a working set of steps so that as new opcodes are added, one could experiment with them as they are developed and shared and prior to the next release.

Thanks for your consideration

- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division