Zero package on m1

mots m's icon

Hello,

i created this max4live device that worked for years with no issue. But i never could get it to work on m1 macs.
Here is the link: http://maxforlive.com/library/device/5266/holonic-source

Basically anything i tried to make it m1 compatible fails.
- updating the zero package to last version
- deleting the [zero.announce ...] and recreating in
- unfreezing freezing again.
- trying on a friends m1 mac do do the same steps.
100 times, and it is not working. i invariably end up with a device that only works on intel architecture.

is there a protocol to make sure the external embedded in a max4live device is updated ?

to me it really feels like max is "forgetting" to copy the m1 variant of the zero external binary when freezing the device.

i got the external to work on a m1 mac, once, right after saving from max, but then upon reopening, same failure.

Does that rings a bell to anyone ?

Marc Assenmacher's icon

I just clicked the link you provided and the author updated the plugin yesterday with the comment „Updated for M1 processors“.

This might solve your problem. ;)

mots m's icon

i am the author of the device. and i thought i updated successfully, but no. it fails to load.

tyler mazaika's icon

1) Seeing some of your project window / errors in Max console might be helpful. All we can do is speculate and shoot in the dark...

2) Your Max library might have multiple versions of the external in its search path.

3) Or if you primarily build/export via Max for Live there may be other devices with the same-named external but an older version floating around somewhere. I'd look around in whatever folder is listed in Preferences as "Default Folder for Max For Live Device Projects".

4) You can make an "externals" folder inside your Project folder, and copy the external version directly into there. If you make the external an explicit dependency (by dragging the file into the project window) you can also right-click on it in the Project window and say "use version in Project folder".

mots m's icon

Thanks for your help Tyler.

1) the error is something like "wrong architecture" (i dont have a m1 mac so debugging is not easy....)
2) the zero package is installed via the package manager. i only use max for this project and dont have any other lib/externals installed.
3) ah i see, this project folder is really interesting. the externals there were outdated.... i guess from here i will be able to fix it.
4) i started by deleting this folder and see what happens. i have the feeling that now max will just bake in the one from the package installed in the package manager.
i suppose what happens is that when you open a device and the package is not installed (or a different version of it) max create this folder and save them there. and never update them or anything, and expect you to manually manage them...

anyhow, it all starts to make sense. thanks !

mots m's icon

and i got confirmation from a m1 user it now works. :)

thank you so much!