Csound Build Errors on RPi 0
Date | 2017-03-31 16:06 |
From | Emmett Palaima |
Subject | Csound Build Errors on RPi 0 |
Hi, I am trying to build Csound on the Raspberry Pi 0 (running Raspbian Jessie) following the instructions on the wiki: https://github.com/csound/csound/blob/develop/BUILD.md#debian
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
When working with Csound on the Raspberry Pi I normally just use "sudo apt-get install csound" which works fine. Unfortunately though this install Csound version 6.03.2, and I need at least 6.07 since I'm trying to use the ctcsound python bindings. I tried doing a manual build. Everything worked until the step "make -j6" which failed when it got to building the libraries for PFFFT Neon. I followed the instructions for fixing this by editing Custom.cmake, but now I'm getting some really weird errors: make[2]: warning: Clock skew detected. Your build may be incomplete. And the build fails... I've tried changing the Custom.cmake to both suggested build flags, and both fail to build. Any idea what might be going on here? |
Date | 2017-03-31 16:15 |
From | jpff |
Subject | Re: Csound Build Errors on RPi 0 |
Surely a Pi 0 does not have 6 cres. Have you tried just "make" ot "make clean; make"? On Fri, 31 Mar 2017, Emmett Palaima wrote: > Hi, I am trying to build Csound on the Raspberry Pi 0 (running Raspbian > Jessie) following the instructions on the > wiki: https://github.com/csound/csound/blob/develop/BUILD.md#debian > When working with Csound on the Raspberry Pi I normally just use "sudo apt-get > install csound" which works fine. Unfortunately though this install Csound > version 6.03.2, and I need at least 6.07 since I'm trying to use the ctcsound > python bindings. > > I tried doing a manual build. Everything worked until the step "make -j6" > which failed when it got to building the libraries for PFFFT Neon. I followed > the instructions for fixing this by editing Custom.cmake, but now I'm getting > some really weird errors: > > make[2]: warning: Clock skew detected. Your build may be incomplete. > > And the build fails... > > I've tried changing the Custom.cmake to both suggested build flags, and both > fail to build. > > Any idea what might be going on 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 |
Date | 2017-03-31 18:26 |
From | Kelly Hirai |
Subject | Re: Csound Build Errors on RPi 0 |
the pi has no real time clock. that means you need to get time from network time protocol and set it upon every boot. k. On 03/31/2017 11:15 AM, jpff wrote: > Surely a Pi 0 does not have 6 cres. Have you tried just "make" ot > "make clean; make"? > > On Fri, 31 Mar 2017, Emmett Palaima wrote: > >> Hi, I am trying to build Csound on the Raspberry Pi 0 (running Raspbian >> Jessie) following the instructions on the >> wiki: https://github.com/csound/csound/blob/develop/BUILD.md#debian >> When working with Csound on the Raspberry Pi I normally just use "sudo >> apt-get >> install csound" which works fine. Unfortunately though this install >> Csound >> version 6.03.2, and I need at least 6.07 since I'm trying to use the >> ctcsound >> python bindings. >> >> I tried doing a manual build. Everything worked until the step "make -j6" >> which failed when it got to building the libraries for PFFFT Neon. I >> followed >> the instructions for fixing this by editing Custom.cmake, but now I'm >> getting >> some really weird errors: >> >> make[2]: warning: Clock skew detected. Your build may be incomplete. >> >> And the build fails... >> >> I've tried changing the Custom.cmake to both suggested build flags, >> and both >> fail to build. >> >> Any idea what might be going on 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 |
Date | 2017-03-31 18:53 |
From | Victor Lazzarini |
Subject | Re: Csound Build Errors on RPi 0 |
try make clean then make Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy Maynooth University Ireland > On 31 Mar 2017, at 18:28, Kelly Hirai |
Date | 2017-03-31 19:54 |
From | Emmett Palaima |
Subject | Re: Csound Build Errors on RPi 0 |
Okay I fixed the time clock and am no longer getting the clock skew warning. However the build still fails with a bunch of errors in pffft.c /home/pi/csound/csound/OOps/pffft.c:162:118: error: request for member ‘val’ in something not a structure or union # define INTERLEAVE2(in1, in2, out1, out2) { float32x4x2_t tmp__ = vzipq_f32(in1,in2); out1=tmp__.val[0]; out2=tmp__.val[1]; } Which is strange because I set the cmake flag in Custom.cmake to not even use PFFFT: set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DPFFFT_SIMD_DISABLE") Custom.cmake is supposed to be in the ~/csound/csound folder created by these build instructions correct? On Fri, Mar 31, 2017 at 1:26 PM, Kelly Hirai <khirai@ongaku.isa-geek.net> wrote: the pi has no real time clock. that means you need to get time from network time protocol and set it upon every boot. |
Date | 2017-03-31 20:11 |
From | Rory Walsh |
Subject | Re: Csound Build Errors on RPi 0 |
Should it not be: set(CMAKE_C_FLAGS "PFFFT_SIMD_DISABLE") Or? On 31 March 2017 at 19:54, Emmett Palaima <epalaima@berklee.edu> wrote:
|
Date | 2017-03-31 20:16 |
From | Victor Lazzarini |
Subject | Re: Csound Build Errors on RPi 0 |
This token still uses pfftt, but without SIMD.
Did you try to make clean first then make? It could be a leftover from previous build.
Why don't you try the settings that turn on SIMD. I have built with these on rpi 3 and it
worked fine.
Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland
|
Date | 2017-03-31 20:17 |
From | Victor Lazzarini |
Subject | Re: Csound Build Errors on RPi 0 |
that will overwrite the cmake variable
Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland
|
Date | 2017-03-31 20:24 |
From | Rory Walsh |
Subject | Re: Csound Build Errors on RPi 0 |
Quite right. I think I just passed -DPFFFT_SIMD_DISABLE=0 when running cmake but I can't remember. Whatever I did, it worked fine! On 31 March 2017 at 20:17, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
|
Date | 2017-03-31 20:35 |
From | Victor Lazzarini |
Subject | Re: Csound Build Errors on RPi 0 |
You should try building with SIMD. For phase vocoder stuff, it gives the alternative of a faster code.
Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland
|