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