Re: [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
        GitHub · Where software is built
Discussions of bugs and features can be posted here

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