On MacOSX 10.13.
Documentation
Preliminary:
Homebrew install
GNU C compiler (gcc) install
Terminal:
Update brew:
pc36:~
g$ brew update
...
pc36:~ g$ brew upgrade
...
Install gcc:
pc36:~
g$ brew info gcc
...
pc36:~ g$ brew install gcc
...
pc36:~ g$ brew cleanup
...
Create a "FolderPd" folder on the desktop of the Mac
-> /Users/g/Desktop/FolderPd/
Compile the percolate library
The source code:
Method written in March 2021.
Pd-0.48-1-i386 is installed in
the Mac
pd-lib-builder by Katja Vetter is used and included in the source code.
See:
Download source code of
percolate
library:
Build percolate library
Terminal:
pc36:~
g$ cd /Users/g/Desktop/FolderPd/PeRColate4PD
pc36:PeRColate4PD g$ make arch="i386 x86_64"
++++ info: using Makefile.pdlibbuilder version 0.6.0
++++ info: using Pd API
/Applications/Pd-0.48-1-i386.app/Contents/Resources/src/m_pd.h
++++ info: making target all in lib percolate
++++ info: making src/absmax~.o in lib percolate
...
ld: warning: The i386 architecture is deprecated for macOS (remove from
the Xcode build setting: ARCHS)
++++info: target all in lib percolate completed
percolate.pd_darwin is built:
/Users/g/Desktop/FolderPd/PeRColate4PD/percolate.pd_darwin
It is a "fat" version: 32bit & 64bit.
pc36:PeRColate4PD
g$ lipo -info percolate.pd_darwin
Architectures in the fat file: percolate.pd_darwin are: i386 x86_64
Variations by changing the line: make arch="i386 x86_64"
make arch="i386" builds a
32bit library.
make arch="x86_64" builds a 64bit library.
make arch="ppc" builds a PowerPC library.
In the percolate library, the 9 objects "PhiSM models": bamboo~,
cabasa~, guiro~, metashake~, sekere~, shaker~, sleigh~, tamb~, wuter~
do not work. And the munger~ object do not work.
The others are working.
percolate.pd_darwin "fat" (32bit &
64bit):
PercolateMacOS.zip
PeRColate: written for Max/MSP by Dan
Trueman and R. Luke DuBois
PeRColate: ported to PD by Olaf Matthes <olaf.matthes@gmx.de>
PeRColate: adapted to Linux by Maurizio Umberto Puxeddu
<umbpux@tin.it>
PeRColate: help files ported by Martin Dupras
<martin.dupras@uwe.ac.uk>
PeRColate: version: 0.09
PeRColate: compiled: Mar 26 2021, 15:53:12
PeRColate: home: http://www.akustische-kunst.org/puredata/percolate/
A use of the percolate library:
Compile the neuralnet library
The source code:
Method written in july 2022.
pd-lib-builder by Katja Vetter is used but not included in the source
code.
Download source code of
neuralnet library:
Download pd-lib-builder:
Build neuralnet library
Terminal:
pc22:~
g$ cd /Users/g/Desktop/FolderPd/neuralnet-main
pc22:neuralnet-main g$ make arch="i386 x86_64"
++++ info: using Makefile.pdlibbuilder version 0.6.0
++++ info: using Pd API
/Applications/Pd-0.49-1-i386.app/Contents/Resources/src/m_pd.h
++++ info: making target all in lib neuralnet
++++ info: evaluating implicit prerequisites in lib neuralnet.....
++++ info: linking objects in neuralnet.pd_darwin for lib neuralnet
cc -undefined suppress -flat_namespace -bundle -arch i386 -arch
x86_64 -mmacosx-version-min=10.6 -o neuralnet.pd_darwin
neuralnet.o -lc
ld: warning: The i386 architecture is deprecated for macOS (remove from
the Xcode build setting: ARCHS)
++++info: target all in lib neuralnet completed
neuralnet.pd_darwin is built:
/Users/g/Desktop/FolderPd/neuralnet-main/neuralnet.pd_darwin
It is a "fat" version: 32bit & 64bit.
pc22:neuralnet-main
g$ lipo -info neuralnet.pd_darwin
Architectures in the fat file: neuralnet.pd_darwin are: i386 x86_64
Compile Pure Data
The source code:
Method written in july 2022.
See:
Download source code
pd-0.52-2.src.tar.gz
-> folder pd-0.52-2
Place the pd-0.52-2 folder in FolderPd:
-> /Users/g/Desktop/FolderPd/pd-0.52-2/
Install the tools:
Terminal:
MBP-de-g:~
g$ brew install automake autoconf libtool pkg-config gettext
...
and compile:
MBP-de-g:~
g$ cd /Users/g/Desktop/FolderPd/pd-0.52-2
MBP-de-g:pd-0.52-2 g$ sh ./autogen.sh
...
MBP-de-g:pd-0.52-2 g$ ./configure CFLAGS=""
...
pd 0.52.2 is now configured
Platform:
Mac OSX
Debug
build: no
Universal build: no
Localizations: yes
Source directory: .
Installation prefix: /usr/local
...
audio
APIs:
PortAudio
midi
APIs:
PortMidi
...
MBP-de-g:pd-0.52-2 g$ make CFLAGS=""
...
MBP-de-g:pd-0.52-2 g$ cd mac
MBP-de-g:mac g$ sh tcltk-wish.sh
Usage: tcltk-wish.sh [OPTIONS] VERSION
MBP-de-g:mac g$ sh osx-app.sh
The application:
FolderPd/pd-0.52-2/mac/Pd.app
is created.
Links: