[PD] can't use Pd-extended externals

Rich E reakinator at gmail.com
Fri Mar 31 11:52:03 CEST 2006


I tried Hans' .pdsettings and Pd tells me:

em: can't load library
/usr/lib/pd/extra/pdp.pd_linux: libgslcblas.so.0: cannot open shared object
file: No such file or directory
pdp: can't load library
gridflow: can't load library
ascii: can't load library

So, I took Tom's advice and added paths for all the subfolders in
/usr/lib/pd/extra.  Many more things work now, but about 1/4 of everything
is missing still.  There are all some object errors.  Here are some of the
most recent that I ran into in my day's exploration:

ext13 - [cdplayer]
load_object: Symbol "cdplayer_setup" not found
 cdplayer
... couldn't create

vasp library missing, but help files are there
[pool] and [OSC] not there. [Gem] too... but I think you have mentioned this
isn't possible yet.

On the positive side,  the Pd Documentation Browser is really nice in 39.2.
References and manuals are easy to find.  On the negative side, right-click
helps don't work, I probably have to add a -helppath flag for every
subfolder in the pd/doc/5.reference folder.  I'd like to help do what I can,
but I think most of my problems are because I cannot load the 'libdirs' as
your .pdsettings file does.

I hate to always ask questions about why things aren't working... but
dernit, this program has a steap learning curve and I'm working on it.  You
guys do amazing work and I'm determined to get up to speed at the risk of
being annoying.

Richie

---------- Forwarded message ----------
From: Hans-Christoph Steiner <hans at eds.org>
Date: Mar 30, 2006 9:51 PM
Subject: Re: [PD] can't use Pd-extended externals
To: tom at danslchamp.org
Cc: pd-list <pd-list at iem.at>


On Mar 31, 2006, at 12:24 AM, Thomas Ouellet Fredericks wrote:

At the end of this mail is an example of my .pdsettings
My pd rests at /usr/lib/pd
I use a Debian package of PD, and compile some stuff, but I pick in  your
compiled pd-extended externals often. Congratulations on the great job.


Thanks, its actually the collected effort of many, many people.  I guess I
am the most visible since I most recently put a big chunk of work in.

I do not understand your loading of folders as libs (like toxy, cyclone,
hid, etc..). Is this a kind of hack so that Pd searches those folders for
the external?


Yeah, is a hack I call libdirs that I plan on developing further into a
generic library format for objects written in any language, C, C++, Pd, C#,
python, whatever.  This would be in conjunction with Thomas' loader
extension and things like the Common Language Runtime API for Pd that was
recently announced.

Here is some documentation about the idea and what's actually implemented:

http://puredata.org/docs/developer/Libdir

Once Pd goes up a version I will switch to you pd-extended and try to help.


Excellent!  The more, the merrier :)


Tom

.pdsettings contents follows:


Cool, just what I needed to fix up the script.  Try this .pdsettings file:




.hc


audioapi: 2
noaudioin: False
audioindev1: 0 2
noaudioout: False
audiooutdev1: 0 2
audiobuf: 50
rate: 44100
nomidiin: True
nomidiout: True
path1: /usr/lib/pd/extra
path2: /usr/lib/pd/extra/gridflow/pd_abstractions
npath: 2
standardpath: 1
verbose: 0
loadlib1: Gem
loadlib2: pdp
loadlib3: zexy
loadlib4: gridflow
loadlib5: ascii
nloadlib: 5
defeatrt: 0
flags:


On 3/30/06, Hans-Christoph Steiner <hans at eds.org> wrote:
>
>
> Or even better you could write a .pdsettings file that loads each lib/
> libdir in Pd-extended and send it to me to include in future
> packages.  I already have such a file for Mac OS X and Windows, but I
> haven't had a chance to make one for GNU/Linux.
>
> Here's the list of libs included in Pd-extended:
>
> Gem cyclone zexy cxc ext13 fftease hid iemabs iemmatrix liblist list-
> abs mapping mar
> kex maxlib memento mjlib motex oscx pddp pdogg pdp pidip pixeltango
> pmpd rradical sigpack smlib toxy unauthorized vasp vbap xsample
>
> This script automatically generates the Mac OS X and Windows one:
>
> http://cvs.sourceforge.net/viewcvs.py/pure-data/scripts/generate-pd-
> settings-files.sh?rev=1.2&view=log
>
> Probably the best solution would be to add the code to make this
> script also generate a .pd-settings file for GNU/Linux.
>
> .hc
>
> On Mar 30, 2006, at 11:16 AM, Thomas Ouellet Fredericks wrote:
>
> > You could dump all the externals that are in the subdirectories back
> > into the extra directory or you could add all the subdirectory paths
> > to your Path... submenu in PD.
> >
> > Tom
> >
> > On 3/30/06, Rich E <reakinator at gmail.com> wrote:
> >> Could anyone help me get the linux Pd-extended examples working?
> >> I have
> >> both 38.4-RC8 and 39.2-test1 running, but with the same problem:
> >> none of
> >> the externals in the example patches are found.  I can use the
> >> externals in
> >> pd/extra/ but most of the externals that are in subdirectories are
> >> not
> >> locatable within Pd.
> >>
> >>  Everything installs smoothly...and there doesn't seem to be any
> >> libraries
> >> that need to be loaded.. I'm stuck.
> >>
> >>  Thanks for any help,
> >>  Richie
> >>
> >> _______________________________________________
> >> PD-list at iem.at mailing list
> >> UNSUBSCRIBE and account-management ->
> >> http://lists.puredata.info/listinfo/pd-list
> >>
> >>
> >>
> >
> > _______________________________________________
> > PD-list at iem.at mailing list
> > UNSUBSCRIBE and account-management -> http://lists.puredata.info/
> > listinfo/pd-list
>
>
> ________________________________________________________________________
> ____
>
>   As we enjoy great advantages from inventions of others, we should
> be glad of an opportunity to serve others by any invention of ours;
> and this we should do freely and generously.
>                                                    - Benjamin Franklin
>
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>



____________________________________________________________________________


 As we enjoy great advantages from inventions of others, we should be glad
of an opportunity to serve others by any invention of ours; and this we
should do freely and generously.

                                                  - Benjamin Franklin


_______________________________________________
PD-list at iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20060331/7d7b02a6/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .pdsettings
Type: application/octet-stream
Size: 618 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20060331/7d7b02a6/attachment.obj>


More information about the Pd-list mailing list