[PD] use of declare in subdirectory

Alex x37v.alex at gmail.com
Tue Jul 12 06:05:02 CEST 2016


I have the following directory hierarchy [in the files attached]:

./dir1/dir2/dir2patch.pd
./dir1/dir1patch.pd
./top.pd

In top.pd I [declare -path dir1]
In ./dir1/dir1patch.pd I [declare -path dir2]

and in each of the patches I print out that the patch has loaded.

If I open 'top.pd' I get an error " dir2patch ... couldn't create"
pd top.pd

But if I open 'dir1/dir1patch.pd'
pd dir1/dir1patch.pd
or cd dir1 && pd dir1patch.pd

I have no errors.
I thought declare -path was supposed to be relative to the enclosing patch?
Am I using it wrong?

I'm running 0.47.1

-Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20160711/455c4eb7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: declare_example.tar
Type: application/x-tar
Size: 10240 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20160711/455c4eb7/attachment-0001.tar>


More information about the Pd-list mailing list