[PD] paths on Catalina? problems with list-abs from deken

IOhannes m zmölnig zmoelnig at iem.at
Mon Jun 1 22:09:56 CEST 2020


On 6/1/20 9:44 PM, Peter Nyboer wrote:
> A bit of a noob question here…
> I recently installed list-abs from deken on a vanilla PD 50-2 on macOS Catalina. 
> My patch wasn’t able to find the abstractions until I explicitly added the path ~/Documents/Pd/externals/list-abs to the Paths preferences. Is that to be expected? 

depends.

it is certainly expected that you cannot just start creating [list-map]
objects without further ado.

you must "load" the library first.

the modern way to do that is to declare that you want to use this
library in each patch that uses this library. (this is similar to a
plethora of other programming languages, e.g. Python, where you have to
"import" a library before you can use it in a .py file)

you can declare this dependency by putting a [declare -path list-abs] in
your patch.

(you can also put that path in the preferences as you did; but this
hides the fact that a patch depends on an external library, and makes it
harder to share/port to another system).

gsfdmr
IOhannes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20200601/87c27afe/attachment.sig>


More information about the Pd-list mailing list