It would be extremely handy if the preference system understood relative paths. Then, for example, I could have each lib compiled as individual files in a folder named after the lib. Then to include that lib, you could just go to the Paths... preference panel and type in the lib name, e.g. "cyclone" and it would look in /path/to/pd/extra/cyclone.
Anyone ever tried this? Any problems with this?
.hc
________________________________________________________________________ ____
There is no way to peace, peace is the way. -A.J. Muste
Hallo, Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:
It would be extremely handy if the preference system understood relative paths. Then, for example, I could have each lib compiled as individual files in a folder named after the lib. Then to include that lib, you could just go to the Paths... preference panel and type in the lib name, e.g. "cyclone" and it would look in /path/to/pd/extra/cyclone.
Anyone ever tried this? Any problems with this?
Hm, doesn't this break Geiger namespaces?
Ciao
On Nov 10, 2005, at 2:17 AM, Frank Barknecht wrote:
Hallo, Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:
It would be extremely handy if the preference system understood relative paths. Then, for example, I could have each lib compiled as individual files in a folder named after the lib. Then to include that lib, you could just go to the Paths... preference panel and type in the lib name, e.g. "cyclone" and it would look in /path/to/pd/extra/cyclone.
Anyone ever tried this? Any problems with this?
Hm, doesn't this break Geiger namespaces?
If the translation to an absolute path is early enough, it should be fine. So if the relative paths are translated to absolute paths right after being read from the .pdrc or similar file, or the "Path..." preference pane, then Pd itself will only keep track of absolute paths, but humans could use relative paths to tell Pd where to look.
It should be a minor fix, I am going to give it a shot.
.hc
________________________________________________________________________ ____
Man has survived hitherto because he was too ignorant to know how to realize his wishes. Now that he can realize them, he must either change them, or perish. -William Carlos Williams