I found lots of instructions on compiling Pd from sources for macOS, but after trying 3, and none actually worked, could someone point me to build-from-source instructions tested on macOS 12 for any Pd version?
Working instructions to compile Pd for macOS 12 (intel)?
what about it didn't work? kind of hard to give instructions or tips without knowing what went wrong when you tried
Install Mac Command Line tools
./autogen.shin the root of the pd source directory
(optionally: run make clean to cleanup previous build attempts)
from the 'mac' directory, get tcl & tk built and then make the app bundle using the included scripts tcltk-wish.sh and osx-app.sh
Thanks for your reply. My question was whether there are any instructions that are tested on macOS 12? That's still a real question. To answer "what about it didn't work", we'd have to identify "it", but there are many sets of instructions. I tried several. I could pick one at random and provide details (the farthest I got was compiling a Pd that seemed to be running but the display was almost completely black), but for starters, what instructions do you recommend? Thanks.
@rbd well I think my instructions above should work, but also you can read INSTALL.txt in the main directory of the source in order to build the binary.
or the manual section: http://msp.ucsd.edu/Pd_documentation/x6.htm
Then you can read the README.txt file in the mac folder, and use the help from the referenced scripts in that directory.
Of course personally I follow the steps I outlined above: when first making the binary don't do
make app, instead just do
cdto the mac directory and make the app using the scripts there.
I'd like to follow the steps you actually use. Where do you get Pd source code?
One of the problems I ran into was make not finding Jackmp. How did you install Jack?
@rbd you can get jack here https://jackaudio.org/downloads/
Edit: get pd source from GitHub or miller Puckette's website http://msp.ucsd.edu/software.html
Thanks! I'm been traveling and just had a chance to try again. I erased all the pd stuff I had downloaded before and started from scratch. I used http://msp.ucsd.edu/software.html (pd-0.52-2.src.tar.gz) and your commands: ./autogen.sh; ./configure CFLAGS=""; make CFLAGS="" followed by cd mac; ./osx-app.sh 0.52-2; open Pd-0.52-2.app;
It worked! Possibly an earlier update/reinstall of Jack was needed, and I'm not really sure what Jack-related stuff Pd is using now (if any).
I think my earlier problem was thinking "Pd-extended community version" was a better place to start with development and writing an external, and possibly starting fresh cleared some shell variables set in earlier failed attempts.