cmake works fine and can be installed via hombrew, et al. Most problems with the transition from Intel to Apple Silicon architectures listed online have been solved a year or two ago by now.
On Dec 29, 2022, at 12:00 PM, pd-list-request@lists.iem.at wrote:
Message: 2 Date: Wed, 28 Dec 2022 10:54:24 -0800 From: Miller Puckette <msp@ucsd.edu mailto:msp@ucsd.edu> To: IOhannes m zm?lnig <zmoelnig@iem.at mailto:zmoelnig@iem.at> Cc: pd-list@lists.iem.at mailto:pd-list@lists.iem.at Subject: Re: [PD] [PD-announce] [leapmotion] version 0.2.0 on deken Message-ID: <Y6yQ4BmASARtPLqQ@ucsd.edu mailto:Y6yQ4BmASARtPLqQ@ucsd.edu> Content-Type: text/plain; charset=iso-8859-1
I don't have a recent enough mac to compile for M1. I'm almost ready to hold my nose and buy one. Mac SDK requires cmake which I don't think my department has managed to get running on their machines yet. UGH...
M
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
Actually, isn't pd~ already compiled for arm64? What am I missing...?
% file /Applications/Pd-0.53-1.app/Contents/Resources/extra/pd~/pd~.d_fat /Applications/Pd-0.53-1.app/Contents/Resources/extra/pd~/pd~.d_fat: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit bundle x86_64] [arm64:Mach-O 64-bit bundle arm64] /Applications/Pd-0.53-1.app/Contents/Resources/extra/pd~/pd~.d_fat (for architecture x86_64): Mach-O 64-bit bundle x86_64 /Applications/Pd-0.53-1.app/Contents/Resources/extra/pd~/pd~.d_fat (for architecture arm64): Mach-O 64-bit bundle arm64
On Wed, Dec 28, 2022 at 07:49:43PM +0100, IOhannes m zm?lnig wrote:
Am 28. Dezember 2022 16:20:08 MEZ schrieb "Jo?o Pais" <jmmmpais@gmail.com mailto:jmmmpais@gmail.com>:
ah ah actually the wink was for Miller - pd~ doesn't work on M1 yet.
Why not?
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
Trying to compile and test it under Max - so that Max users can enjoy the powerful features of Pd at last :)
M
On Thu, Dec 29, 2022 at 04:47:50PM +0100, Dan Wilcox wrote:
Actually, isn't pd~ already compiled for arm64? What am I missing...?
% file /Applications/Pd-0.53-1.app/Contents/Resources/extra/pd~/pd~.d_fat /Applications/Pd-0.53-1.app/Contents/Resources/extra/pd~/pd~.d_fat: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit bundle x86_64] [arm64:Mach-O 64-bit bundle arm64] /Applications/Pd-0.53-1.app/Contents/Resources/extra/pd~/pd~.d_fat (for architecture x86_64): Mach-O 64-bit bundle x86_64 /Applications/Pd-0.53-1.app/Contents/Resources/extra/pd~/pd~.d_fat (for architecture arm64): Mach-O 64-bit bundle arm64
On Wed, Dec 28, 2022 at 07:49:43PM +0100, IOhannes m zm?lnig wrote:
Am 28. Dezember 2022 16:20:08 MEZ schrieb "Jo?o Pais" <jmmmpais@gmail.com mailto:jmmmpais@gmail.com>:
ah ah actually the wink was for Miller - pd~ doesn't work on M1 yet.
Why not?
Dan Wilcox @danomatika <https://urldefense.com/v3/__http://twitter.com/danomatika__;!!Mih3wA!GO00FwO... > danomatika.com <https://urldefense.com/v3/__http://danomatika.com/__;!!Mih3wA!GO00FwOSgl31mM... > robotcowboy.com <https://urldefense.com/v3/__http://robotcowboy.com/__;!!Mih3wA!GO00FwOSgl31m... >
Ah, ok... the "pd~" object for Max... not its equivalent for pd. Now I understand why you need cmake which, in any case, is easily installable via homebrew. As for the Max SDK, I imagine it probably requires a more recent OS than 10.14 or 10.15, so you are best off with a Mac mini M1 or M2 at this point.
On Dec 29, 2022, at 4:49 PM, Miller Puckette msp@ucsd.edu wrote:
Trying to compile and test it under Max - so that Max users can enjoy the powerful features of Pd at last :)
M
On Thu, Dec 29, 2022 at 04:47:50PM +0100, Dan Wilcox wrote:
Actually, isn't pd~ already compiled for arm64? What am I missing...?
% file /Applications/Pd-0.53-1.app/Contents/Resources/extra/pd~/pd~.d_fat /Applications/Pd-0.53-1.app/Contents/Resources/extra/pd~/pd~.d_fat: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit bundle x86_64] [arm64:Mach-O 64-bit bundle arm64] /Applications/Pd-0.53-1.app/Contents/Resources/extra/pd~/pd~.d_fat (for architecture x86_64): Mach-O 64-bit bundle x86_64 /Applications/Pd-0.53-1.app/Contents/Resources/extra/pd~/pd~.d_fat (for architecture arm64): Mach-O 64-bit bundle arm64
On Wed, Dec 28, 2022 at 07:49:43PM +0100, IOhannes m zm?lnig wrote:
Am 28. Dezember 2022 16:20:08 MEZ schrieb "Jo?o Pais" <jmmmpais@gmail.com mailto:jmmmpais@gmail.com>:
ah ah actually the wink was for Miller - pd~ doesn't work on M1 yet.
Why not?
Dan Wilcox @danomatika <https://urldefense.com/v3/__http://twitter.com/danomatika__;!!Mih3wA!GO00FwO... > danomatika.com <https://urldefense.com/v3/__http://danomatika.com/__;!!Mih3wA!GO00FwOSgl31mM... > robotcowboy.com <https://urldefense.com/v3/__http://robotcowboy.com/__;!!Mih3wA!GO00FwOSgl31m... >
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
Is there a source code tarball for pd~ for Max? I'd be willing to build it if installing the requisite SDKs is relatively easy. If the process can be automated, we could consider using the build servers ala Pd vanilla.
On Dec 29, 2022, at 4:52 PM, Dan Wilcox danomatika@gmail.com wrote:
Ah, ok... the "pd~" object for Max... not its equivalent for pd. Now I understand why you need cmake which, in any case, is easily installable via homebrew. As for the Max SDK, I imagine it probably requires a more recent OS than 10.14 or 10.15, so you are best off with a Mac mini M1 or M2 at this point.
On Dec 29, 2022, at 4:49 PM, Miller Puckette <msp@ucsd.edu mailto:msp@ucsd.edu> wrote:
Trying to compile and test it under Max - so that Max users can enjoy the powerful features of Pd at last :)
M
On Thu, Dec 29, 2022 at 04:47:50PM +0100, Dan Wilcox wrote:
Actually, isn't pd~ already compiled for arm64? What am I missing...?
% file /Applications/Pd-0.53-1.app/Contents/Resources/extra/pd~/pd~.d_fat /Applications/Pd-0.53-1.app/Contents/Resources/extra/pd~/pd~.d_fat: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit bundle x86_64] [arm64:Mach-O 64-bit bundle arm64] /Applications/Pd-0.53-1.app/Contents/Resources/extra/pd~/pd~.d_fat (for architecture x86_64): Mach-O 64-bit bundle x86_64 /Applications/Pd-0.53-1.app/Contents/Resources/extra/pd~/pd~.d_fat (for architecture arm64): Mach-O 64-bit bundle arm64
On Wed, Dec 28, 2022 at 07:49:43PM +0100, IOhannes m zm?lnig wrote:
Am 28. Dezember 2022 16:20:08 MEZ schrieb "Jo?o Pais" <jmmmpais@gmail.com mailto:jmmmpais@gmail.com <mailto:jmmmpais@gmail.com mailto:jmmmpais@gmail.com>>:
ah ah actually the wink was for Miller - pd~ doesn't work on M1 yet.
Why not?
Dan Wilcox @danomatika <https://urldefense.com/v3/__http://twitter.com/danomatika__;!!Mih3wA!GO00FwO... https://urldefense.com/v3/__http://twitter.com/danomatika__;!!Mih3wA!GO00FwOSgl31mMscKMpZmwJaBSkv2sO_mvswrsoXIymnH-SSram6DsOmuu62kJXEAqEizO6qKqFHPe8$ > danomatika.com http://danomatika.com/ <https://urldefense.com/v3/__http://danomatika.com/__;!!Mih3wA!GO00FwOSgl31mM... https://urldefense.com/v3/__http://danomatika.com/__;!!Mih3wA!GO00FwOSgl31mMscKMpZmwJaBSkv2sO_mvswrsoXIymnH-SSram6DsOmuu62kJXEAqEizO6qvmtuGlo$ > robotcowboy.com http://robotcowboy.com/ <https://urldefense.com/v3/__http://robotcowboy.com/__;!!Mih3wA!GO00FwOSgl31m... https://urldefense.com/v3/__http://robotcowboy.com/__;!!Mih3wA!GO00FwOSgl31mMscKMpZmwJaBSkv2sO_mvswrsoXIymnH-SSram6DsOmuu62kJXEAqEizO6qPT6Q3e0$ >
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
Sources are exactly the same as in extra/pd~ - needed files are pd~.c and binarymsg.c . I had these compiling with the 7.x Max SDK but the 8.x one has dropped "xcodebuild" for cmake so the build and release scripts have to be revisited.
Anyway I'm leaning toward buying a used macmini for decently cheap and can get on this once that's done.
cheers Miller
On Thu, Dec 29, 2022 at 06:44:20PM +0100, Dan Wilcox wrote:
Is there a source code tarball for pd~ for Max? I'd be willing to build it if installing the requisite SDKs is relatively easy. If the process can be automated, we could consider using the build servers ala Pd vanilla.
On Dec 29, 2022, at 4:52 PM, Dan Wilcox danomatika@gmail.com wrote:
Ah, ok... the "pd~" object for Max... not its equivalent for pd. Now I understand why you need cmake which, in any case, is easily installable via homebrew. As for the Max SDK, I imagine it probably requires a more recent OS than 10.14 or 10.15, so you are best off with a Mac mini M1 or M2 at this point.
On Dec 29, 2022, at 4:49 PM, Miller Puckette <msp@ucsd.edu mailto:msp@ucsd.edu> wrote:
Trying to compile and test it under Max - so that Max users can enjoy the powerful features of Pd at last :)
M
On Thu, Dec 29, 2022 at 04:47:50PM +0100, Dan Wilcox wrote:
Actually, isn't pd~ already compiled for arm64? What am I missing...?
% file /Applications/Pd-0.53-1.app/Contents/Resources/extra/pd~/pd~.d_fat /Applications/Pd-0.53-1.app/Contents/Resources/extra/pd~/pd~.d_fat: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit bundle x86_64] [arm64:Mach-O 64-bit bundle arm64] /Applications/Pd-0.53-1.app/Contents/Resources/extra/pd~/pd~.d_fat (for architecture x86_64): Mach-O 64-bit bundle x86_64 /Applications/Pd-0.53-1.app/Contents/Resources/extra/pd~/pd~.d_fat (for architecture arm64): Mach-O 64-bit bundle arm64
On Wed, Dec 28, 2022 at 07:49:43PM +0100, IOhannes m zm?lnig wrote:
Am 28. Dezember 2022 16:20:08 MEZ schrieb "Jo?o Pais" <jmmmpais@gmail.com mailto:jmmmpais@gmail.com <mailto:jmmmpais@gmail.com mailto:jmmmpais@gmail.com>>:
ah ah actually the wink was for Miller - pd~ doesn't work on M1 yet.
Why not?
Dan Wilcox @danomatika <https://urldefense.com/v3/__http://twitter.com/danomatika__;!!Mih3wA!GO00FwO... https://urldefense.com/v3/__http://twitter.com/danomatika__;!!Mih3wA!GO00FwOSgl31mMscKMpZmwJaBSkv2sO_mvswrsoXIymnH-SSram6DsOmuu62kJXEAqEizO6qKqFHPe8$ > danomatika.com <https://urldefense.com/v3/__http://danomatika.com/__;!!Mih3wA!AWq7tr_i6nLkMC... > <https://urldefense.com/v3/__http://danomatika.com/__;!!Mih3wA!GO00FwOSgl31mM... https://urldefense.com/v3/__http://danomatika.com/__;!!Mih3wA!GO00FwOSgl31mMscKMpZmwJaBSkv2sO_mvswrsoXIymnH-SSram6DsOmuu62kJXEAqEizO6qvmtuGlo$ > robotcowboy.com <https://urldefense.com/v3/__http://robotcowboy.com/__;!!Mih3wA!AWq7tr_i6nLkM... > <https://urldefense.com/v3/__http://robotcowboy.com/__;!!Mih3wA!GO00FwOSgl31m... https://urldefense.com/v3/__http://robotcowboy.com/__;!!Mih3wA!GO00FwOSgl31mMscKMpZmwJaBSkv2sO_mvswrsoXIymnH-SSram6DsOmuu62kJXEAqEizO6qPT6Q3e0$ >
Dan Wilcox @danomatika <https://urldefense.com/v3/__http://twitter.com/danomatika__;!!Mih3wA!AWq7tr_... > danomatika.com <https://urldefense.com/v3/__http://danomatika.com/__;!!Mih3wA!AWq7tr_i6nLkMC... > robotcowboy.com <https://urldefense.com/v3/__http://robotcowboy.com/__;!!Mih3wA!AWq7tr_i6nLkM... >
Dan Wilcox @danomatika <https://urldefense.com/v3/__http://twitter.com/danomatika__;!!Mih3wA!AWq7tr_... > danomatika.com <https://urldefense.com/v3/__http://danomatika.com/__;!!Mih3wA!AWq7tr_i6nLkMC... > robotcowboy.com <https://urldefense.com/v3/__http://robotcowboy.com/__;!!Mih3wA!AWq7tr_i6nLkM... >
Ok, that explains a lack of separate tarball. Is the build script in the main pd repo anywhere?
Also, if you buy used, get an M1 as a minimum. Don't buy an Intel CPU otherwise you'll be revisiting this topic in a few years.
On Dec 29, 2022, at 7:16 PM, Miller Puckette msp@ucsd.edu wrote:
Sources are exactly the same as in extra/pd~ - needed files are pd~.c and binarymsg.c . I had these compiling with the 7.x Max SDK but the 8.x one has dropped "xcodebuild" for cmake so the build and release scripts have to be revisited.
Anyway I'm leaning toward buying a used macmini for decently cheap and can get on this once that's done.
cheers Miller
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
Nah.. it's just the command "xcodebuild -configuration Deployment -project pd~.xcodeproj/" (which has to be replaced) - after which I appear simply to have copied the sources and help file into the built "mxo" bundle.
cheers M
On Thu, Dec 29, 2022 at 07:19:23PM +0100, Dan Wilcox wrote:
Ok, that explains a lack of separate tarball. Is the build script in the main pd repo anywhere?
Also, if you buy used, get an M1 as a minimum. Don't buy an Intel CPU otherwise you'll be revisiting this topic in a few years.
On Dec 29, 2022, at 7:16 PM, Miller Puckette msp@ucsd.edu wrote:
Sources are exactly the same as in extra/pd~ - needed files are pd~.c and binarymsg.c . I had these compiling with the 7.x Max SDK but the 8.x one has dropped "xcodebuild" for cmake so the build and release scripts have to be revisited.
Anyway I'm leaning toward buying a used macmini for decently cheap and can get on this once that's done.
cheers Miller
Dan Wilcox @danomatika <https://urldefense.com/v3/__http://twitter.com/danomatika__;!!Mih3wA!Abr_Ptn... > danomatika.com <https://urldefense.com/v3/__http://danomatika.com/__;!!Mih3wA!Abr_PtncDce5zN... > robotcowboy.com <https://urldefense.com/v3/__http://robotcowboy.com/__;!!Mih3wA!Abr_PtncDce5z... >
I was able to use the big sur SDK on 10.15, which can compile for M1. Just had to change -isysroot I think.
-Seb -----Original Message----- From: Dan Wilcox danomatika@gmail.com To: Miller Puckette msp@ucsd.edu Cc: Pd-List pd-list@lists.iem.at; Jo?o Pais jmmmpais@gmail.com Sent: Thu, Dec 29, 2022 7:52 am Subject: Re: [PD] [PD-announce] [leapmotion] version 0.2.0 on deken
Ah, ok... the "pd~" object for Max... not its equivalent for pd. Now I understand why you need cmake which, in any case, is easily installable via homebrew. As for the Max SDK, I imagine it probably requires a more recent OS than 10.14 or 10.15, so you are best off with a Mac mini M1 or M2 at this point.
On Dec 29, 2022, at 4:49 PM, Miller Puckette msp@ucsd.edu wrote: Trying to compile and test it under Max - so that Max users can enjoy the powerful features of Pd at last :)
M
On Thu, Dec 29, 2022 at 04:47:50PM +0100, Dan Wilcox wrote:
Actually, isn't pd~ already compiled for arm64? What am I missing...?
% file /Applications/Pd-0.53-1.app/Contents/Resources/extra/pd~/pd~.d_fat /Applications/Pd-0.53-1.app/Contents/Resources/extra/pd~/pd~.d_fat: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit bundle x86_64] [arm64:Mach-O 64-bit bundle arm64] /Applications/Pd-0.53-1.app/Contents/Resources/extra/pd~/pd~.d_fat (for architecture x86_64): Mach-O 64-bit bundle x86_64 /Applications/Pd-0.53-1.app/Contents/Resources/extra/pd~/pd~.d_fat (for architecture arm64): Mach-O 64-bit bundle arm64
On Wed, Dec 28, 2022 at 07:49:43PM +0100, IOhannes m zm?lnig wrote:
Am 28. Dezember 2022 16:20:08 MEZ schrieb "Jo?o Pais" <jmmmpais@gmail.com mailto:jmmmpais@gmail.com>:
ah ah actually the wink was for Miller - pd~ doesn't work on M1 yet.
Why not?
Dan Wilcox @danomatika <https://urldefense.com/v3/__http://twitter.com/danomatika__;!!Mih3wA!GO00FwO... > danomatika.com <https://urldefense.com/v3/__http://danomatika.com/__;!!Mih3wA!GO00FwOSgl31mM... > robotcowboy.com <https://urldefense.com/v3/__http://robotcowboy.com/__;!!Mih3wA!GO00FwOSgl31m... >
--------Dan Wilcox@danomatikadanomatika.comrobotcowboy.com
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
It's the PdMax object (pd~.mxo) that's not compiled for arm64 yet. But you can always run Max using Rosetta for now.
On Thu, Dec 29, 2022 at 10:49 AM Dan Wilcox danomatika@gmail.com wrote:
Actually, isn't pd~ already compiled for arm64? What am I missing...?
% file /Applications/Pd-0.53-1.app/Contents/Resources/extra/pd~/pd~.d_fat /Applications/Pd-0.53-1.app/Contents/Resources/extra/pd~/pd~.d_fat: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit bundle x86_64] [arm64:Mach-O 64-bit bundle arm64] /Applications/Pd-0.53-1.app/Contents/Resources/extra/pd~/pd~.d_fat (for architecture x86_64): Mach-O 64-bit bundle x86_64 /Applications/Pd-0.53-1.app/Contents/Resources/extra/pd~/pd~.d_fat (for architecture arm64): Mach-O 64-bit bundle arm64
On Wed, Dec 28, 2022 at 07:49:43PM +0100, IOhannes m zm?lnig wrote:
Am 28. Dezember 2022 16:20:08 MEZ schrieb "Jo?o Pais" <jmmmpais@gmail.com
:
ah ah actually the wink was for Miller - pd~ doesn't work on M1 yet.
Why not?
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com robotcowboy.com
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list