[PD] libdir question (was: Re: pduino patches on pdx)

Jonathan Wilkes jancsika at yahoo.com
Thu Apr 12 19:34:07 CEST 2012


Hans,
     Let's say I have a patch in its own directory.  In the same directory I have put two libraries 
that are made up solely of abstractions, in sub-directories named abs1 and abs2.

abs1/foo.pd relies on abs2/bar.pd.

What can I do in abs1/foo.pd to make sure that abs2/bar.pd is loaded?  All I can think of is
[../abs2/bar.pd] because [import abs2] won't find the abs2 directory on the parent directory.  
But there needs to be a clear way of doing this, as putting the patch and libdirs all in one 
directory is the safest way to ensure that one's patch will work on someone else's system.

-Jonathan




More information about the Pd-list mailing list