[PD] pd-ext paths, libs and help

marius schebella marius.schebella at gmail.com
Tue Mar 4 18:09:43 CET 2008


I am using 20080222. libdir is loading by default, so to me it looks as 
import is broken.
otoh, there is no library oscx.pd_darwin, since in pdxt all 
objectclasses are separate binaries. (OSCroute.pd_darwin). maybe that is 
the reason why import oscx does not work? otoh (again), when I create 
[import oscx] I get
[import] $Revision: 1.2 $
	written by Hans-Christoph Steiner <hans at at.or.at>
	compiled on Feb 22 2008 at 14:19:06
	compiled against Pd version 0.40.3
libdir_loader: added oscx to the canvas-local path
[import] loaded library: oscx
but then, still, OSCroute ... couldn't create.
I also read that import only gets executed on startup, so I saved the 
patch and reopened/restarted pd, but still OSC couldn't create.
only oscx/OSCroute works.
declare -path oscx is also doing nothing. oh, wait!
import -path oscx did the trick!!!

ok, here is what I get when I *only* use import -path oscx

[import] $Revision: 1.2 $
	written by Hans-Christoph Steiner <hans at at.or.at>
	compiled on Feb 22 2008 at 14:19:06
	compiled against Pd version 0.40.3
[import]: ERROR: can't load library in -path
libdir_loader: added oscx to the canvas-local path
[import] loaded library: oscx
and then OSCroute ... couldn't create.

hmm, [import oscx -path oscx] gives some errors, but then it works

[import] $Revision: 1.2 $
	written by Hans-Christoph Steiner <hans at at.or.at>
	compiled on Feb 22 2008 at 14:19:06
	compiled against Pd version 0.40.3
libdir_loader: added oscx to the canvas-local path
[import] loaded library: oscx
[import]: ERROR: can't load library in -path
libdir_loader: added oscx to the canvas-local path
[import] loaded library: oscx

don't know, is that the way it is supposed to work???
marius.

Georg Holzmann wrote:
> Hallo!
> 
>> let's say I want to use OSCroute...
>> I put an object [import oscx].
>> but OSCroute ... couldn't create
>> only oscx/OSCroute works, and then I can also use OSCroute.
>> I can import OSCroute, but only after I imported oscx.
> 
> Okay, which pd-extended version do you use ?
> I use the autobuild Pd version 0.40.3-extended-20080224 and I can do a
> [import oscx] and [OSCroute].
> 
> (of course you have to load the library "libdir" first, because thats 
> the library loader - so yes, libdir should be loaded automatically)
> 
> Alternatively I can do [declare -lib oscx] and then [OSCroute] which 
> should work with any pd version which supports [declare].
> 
>> almost all the help patches that rely on one of these libraries are 
>> broken.
> 
> I changed the makefile at some time that all the helpfiles are also 
> installed into the extra/library path. So everything worked basically.
> But I think these changes are not yet in the official released 
> pd-extended ...
> 
> LG
> Georg
> 





More information about the Pd-list mailing list