[chuck-users] building chugins on Apple M1

Michael Heuer heuermh at gmail.com
Mon May 22 22:15:24 EDT 2023


Hello,

I tried building the 1.5.0.0 tag of chugins on my M1 Mac and the architectures don't match

$ chuck -v3 ...
[chuck]:(3:SEVERE):  |  | loading chugin 'ABSaturator.chug'
[chuck]:(3:SEVERE):  |  |  | cannot load chugin 'ABSaturator.chug', skipping...
[chuck]:(3:SEVERE):  |  |  | dlopen(/usr/local/lib/chuck/ABSaturator.chug, 0x0002): tried: '/usr/local/lib/chuck/ABSaturator.chug' (mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e)))

chugins (HEAD detached at chuck-1.5.0.0)
$ file `which chuck`
/opt/homebrew/bin/chuck: Mach-O 64-bit executable arm64

chugins (HEAD detached at chuck-1.5.0.0)
$ file /usr/local/lib/chuck/ABSaturator.chug
/usr/local/lib/chuck/ABSaturator.chug: Mach-O 64-bit dynamically linked shared library x86_64

It is not obvious to me how to build chugins for arm64/Apple M1 architecture?

Cheers,

   michael


More information about the chuck-users mailing list