Csound Csound-dev Csound-tekno Search About

[Csnd] build failed on mac 26.6.2

Date2026-09-09 19:08
From00001739ba4d89d2-dmarc-request@LISTSERV.HEANET.IE
Subject[Csnd] build failed on mac 26.6.2
Attachmentsbuilt_errors.tgz  
hello list,

trying to build Csound from sources (just cloned,
the build fails.
As always in cmake directory:
cmake ../
Corrected the cache to replace /usr/bin/bison with /opt/local/bin/bison.

Arch -x86_64 make
And after failure:
arch -arm64 make.
here are the results:

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


any hint would help.
Thanks in advance.
Raoul MEGELAS

Raoul MEGELAS
rmgls2943@icloud.com




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

Date2026-09-09 19:30
FromHlöðver Sigurðsson
SubjectRe: [Csnd] build failed on mac 26.6.2
do you have a Cmake.custom that's forcing linux packages to be included, I'm JACK, PulseAudio and PipeWire in the logs, given this is osx, I don't know how it got included.

On Wed, 9 Sept 2026 at 21:08, <00001739ba4d89d2-dmarc-request@listserv.heanet.ie> wrote:
hello list,

trying to build Csound from sources (just cloned,
the build fails.
As always in cmake directory:
cmake ../
Corrected the cache to replace /usr/bin/bison with /opt/local/bin/bison.

Arch -x86_64 make
And after failure:
arch -arm64 make.
here are the results:

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


any hint would help.
Thanks in advance.
Raoul MEGELAS

Raoul MEGELAS
rmgls2943@icloud.com




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

Date2026-09-10 07:21
From00001739ba4d89d2-dmarc-request@LISTSERV.HEANET.IE
SubjectRe: [Csnd] build failed on mac 26.6.2
Hello,

They have been installed from macports.
and no i have no cmakeCustom anywhere.
Bests


> On 9 Sep 2026, at 20:30, Hlöðver Sigurðsson  wrote:
> 
> do you have a Cmake.custom that's forcing linux packages to be included, I'm JACK, PulseAudio and PipeWire in the logs, given this is osx, I don't know how it got included.
> 
> On Wed, 9 Sept 2026 at 21:08, <00001739ba4d89d2-dmarc-request@listserv.heanet.ie> wrote:
> hello list,
> 
> trying to build Csound from sources (just cloned,
> the build fails.
> As always in cmake directory:
> cmake ../
> Corrected the cache to replace /usr/bin/bison with /opt/local/bin/bison.
> 
> Arch -x86_64 make
> And after failure:
> arch -arm64 make.
> here are the results:
> 
> 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
> 
> 
> any hint would help.
> Thanks in advance.
> Raoul MEGELAS
> 
> Raoul MEGELAS
> rmgls2943@icloud.com
> 
> 
> 
> 
> 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


Raoul MEGELAS
rmgls2943@icloud.com

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

Date2026-09-10 15:52
FromSteven Yi
SubjectRe: [Csnd] build failed on mac 26.6.2
Both cmake logs are configured to build x86_64, and the found libraries that are link errors are built for arm64.  

-- USE_APPLE_M1_BASELINE is ON but not building for macOS arm64 – skipping

and 

ld: warning: ignoring file '/opt/local/lib/libcurl.dylib': found architecture 'arm64', required architecture 'x86_64'
ld: warning: ignoring file '/opt/local/lib/libsamplerate.dylib': found architecture 'arm64', required architecture 'x86_64'
ld: warning: ignoring file '/opt/local/lib/libsndfile.dylib': found architecture 'arm64', required architecture 'x86_64'

shows up in both logs. 

You could try using

cmake -DCMAKE_OSX_ARCHITECTURES=arm64 ..

and checking that cmake is configuring to build for arm64.

On Wed, Sep 9, 2026 at 2:08 PM <00001739ba4d89d2-dmarc-request@listserv.heanet.ie> wrote:
hello list,

trying to build Csound from sources (just cloned,
the build fails.
As always in cmake directory:
cmake ../
Corrected the cache to replace /usr/bin/bison with /opt/local/bin/bison.

Arch -x86_64 make
And after failure:
arch -arm64 make.
here are the results:

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


any hint would help.
Thanks in advance.
Raoul MEGELAS

Raoul MEGELAS
rmgls2943@icloud.com




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