Csound Csound-dev Csound-tekno Search About

Re: [Csnd] Problem with chuap

Date2025-04-29 13:24
FromDaniel <000012ee7ecf92ae-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd] Problem with chuap
Hi Michael, 

Thank you for your message.

In response to your questions, I can confirm that the plugin is located on my system, and the CPU architecture of both Csound and the plugin match:

Csound: Mach-O 64-bit executable, ARM64

Plugin: 64-bit ARM architecture (arm64)

Given that, I wonder if the issue could be related to the plugin installation path.

The plugin currently resides in:

/Users/myname/plugins/6.x/build/src/chua/

However, this may not be a location that Csound scans for plugins by default...

Would it be advisable to manually move the .dylib file into Csound's recognised plugin directory? 

Additionally, when I try to list or load plugins through the terminal, I receive the following error (related to a different plugin):

Error in pre-initialisation function of module 'libfluidOpcodes.dylib'  
Failed during csoundLoadModules  
csound command: Segmentation fault

While this pertains to libfluidOpcodes.dylib, I wonder if it could be indicative of a broader issue with the plugin loading.

Any thoughts would be greatly appreciated.

Daniel

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

Date2025-04-29 13:43
FromVictor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd] [EXTERNAL] [Csnd] Problem with chuap
If you compiled your own plugin, you can move it to

$HOME/Library/csound/6.0/plugins64

and Csound will find it.

Make sure it’s Csound 6.x you are running. Note that CsoundQT may be x86_64 and so
Csound will not load an arm64 plugin in that case (Csound itself is universal).

The plugin binaries in the release are all x86_64 and I can confirm they work with
CsoundQt 1.1.1, which is x86_64:

otool -h /Applications/CsoundQt-d-html-cs6.app/Contents/MacOS/CsoundQt-d-html-cs6
/Applications/CsoundQt-d-html-cs6.app/Contents/MacOS/CsoundQt-d-html-cs6:
Mach header
      magic  cputype cpusubtype  caps    filetype ncmds sizeofcmds      flags
 0xfeedfacf 16777223          3  0x00           2    43       4056 0x00218085

========================
Prof. Victor Lazzarini
Maynooth University
Ireland

> On 29 Apr 2025, at 13:24, Daniel <000012ee7ecf92ae-dmarc-request@LISTSERV.HEANET.IE> wrote:
>
> *Warning*
>
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
>
> Hi Michael,
>
> Thank you for your message.
>
> In response to your questions, I can confirm that the plugin is located on my system, and the CPU architecture of both Csound and the plugin match:
>
> Csound: Mach-O 64-bit executable, ARM64
>
> Plugin: 64-bit ARM architecture (arm64)
>
> Given that, I wonder if the issue could be related to the plugin installation path.
>
> The plugin currently resides in:
>
> /Users/myname/plugins/6.x/build/src/chua/
>
> However, this may not be a location that Csound scans for plugins by default...
>
> Would it be advisable to manually move the .dylib file into Csound's recognised plugin directory?
>
> Additionally, when I try to list or load plugins through the terminal, I receive the following error (related to a different plugin):
>
> Error in pre-initialisation function of module 'libfluidOpcodes.dylib'
> Failed during csoundLoadModules
> csound command: Segmentation fault
>
> While this pertains to libfluidOpcodes.dylib, I wonder if it could be indicative of a broader issue with the plugin loading.
>
> Any thoughts would be greatly appreciated.
>
> Daniel
>
> 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