[PD] [import]ing libdirs from places other than extra/?

Hans-Christoph Steiner hans at eds.org
Tue Mar 24 05:18:44 CET 2009


Its quite appalling that I didn't see this until now.  I was super  
busy back in Sept and I guess i never saw this again until now.   
Anyway, I fixed it, so the fix will be included in the nightly builds:

http://pure-data.svn.sourceforge.net/viewvc/pure-data?view=rev&revision=10895

For future reference, feel free to nag me on this kind of thing.

.hc

On Sep 18, 2008, at 7:24 AM, Luke Iannini wrote:

> Hi hans/all,
> I'm trying to switch my entire library of patches over to [import] and
> removing everything from my path to decrease loading time of my very
> nested patches.
>
> Everything worked great for the libdirs in extra (in the
> Pd-extended.app bundle), but I'm not having any luck [import]ing from
> anywhere else (i.e. my personal patch collection).  According to
> http://puredata.info/docs/faq/how-do-i-install-externals-and-help-files-with-pd-extended
> , I was under the impression I could add libdirs (which I have added
> -meta.pd files to) to ~/Library/Pd or /Library/Pd and [import] would
> find them.
>
> But, I'm unable to instantiate any of the patches in my libdirs after
> doing this and [import]ing them.
>
> [import] does not, at least, complain, when I instantiate it
> (i.e. I get "libdir_loader: added 'Concepts' to the canvas-local
> objectclass path" rather than "error: [import]: ERROR: can't load
> library in 'Concepttt'")
> so, something is working.
>
> Moving my directories into extra/ fixes the problem, but I'd rather  
> not do that!
>
> Also, is it defined at a source level that ~/Library/Pd and
> /Library/Pd are the only places libdirs can be loaded from (I couldn't
> find it i so)?  Or, is is just that every folder in the global path is
> searched for libdirs (or, at least, is that how it's meant to be)?
>
> Cheers
> Luke
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list



----------------------------------------------------------------------------

"[W]e have invented the technology to eliminate scarcity, but we are  
deliberately throwing it away to benefit those who profit from  
scarcity."        -John Gilmore






More information about the Pd-list mailing list