<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[0.41.4 doesn&#x27;t load all of its extensions?]]></title><description><![CDATA[<p>In my ignorance, I didn't realize that 0.41.4 came out months ago; I just installed it. Thanks Hans!!!!</p>
<p>But immediately afterwards I found that iemmatrix, moocow, and tof weren't found by Pd.... Looking in the package contents, I them and added them to the path.</p>
<p>So I have two SIMPLE questions:</p>
<p>1. Why aren't all of the Pd extensions being loaded at startup?</p>
<p>2. When adding extensions to the path, why won't &quot;/Applications/Pd-extended.app/Contents/Resources/extras&quot; load everything? I had to add the missing libraries one at a time.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/3491/0-41-4-doesn-t-load-all-of-its-extensions</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Apr 2026 07:00:28 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/3491.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 26 Jan 2010 06:55:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 0.41.4 doesn&#x27;t load all of its extensions? on Tue, 26 Jan 2010 06:55:52 GMT]]></title><description><![CDATA[<p>In my ignorance, I didn't realize that 0.41.4 came out months ago; I just installed it. Thanks Hans!!!!</p>
<p>But immediately afterwards I found that iemmatrix, moocow, and tof weren't found by Pd.... Looking in the package contents, I them and added them to the path.</p>
<p>So I have two SIMPLE questions:</p>
<p>1. Why aren't all of the Pd extensions being loaded at startup?</p>
<p>2. When adding extensions to the path, why won't &quot;/Applications/Pd-extended.app/Contents/Resources/extras&quot; load everything? I had to add the missing libraries one at a time.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/3491/0-41-4-doesn-t-load-all-of-its-extensions</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/3491/0-41-4-doesn-t-load-all-of-its-extensions</guid><dc:creator><![CDATA[ledhed2222]]></dc:creator><pubDate>Tue, 26 Jan 2010 06:55:52 GMT</pubDate></item><item><title><![CDATA[Reply to 0.41.4 doesn&#x27;t load all of its extensions? on Tue, 26 Jan 2010 17:11:03 GMT]]></title><description><![CDATA[<p>1. My guess is it's because there is a boat load of externals included with Pd-extended, and loading them all on startup would be quite a hassle. Since there isn't really any scrutiny given to the externals added to extended, many of them have the same name, so if they're all loaded on startup and you type in [wrap], for example, you don't know if it's vanilla's [wrap] or zexy's or whatever. As it is right now, I think most people don't use externals from many of the libraries that are loaded by default, so it's kind of a waste of load time anyway. I personally don't think it would be a bad idea to not have any load by default. This would encourage people to document in their patches which libraries are being used so that when they are shared other users won't have a problem figuring out where some unidentified external came from.</p>
<p>2. Similar reason to the one above, I guess. I assume you mean the subfolders. You can still access them without adding them all to the path. You can use [declare] for paths and [import] for libraries. Also, you can add the folder name in the external, like [zexy/wrap], which will not only load the external but will force Pd to use zexy's and not vanilla's. Doing all that also self-documents the patch, which is another reason why I don't think it's all that bad to not load libraries on startup by default.</p>
<p>All that's just speculation, though. I don't actually know the real answers to your questions <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/wink.png" title=";-)" alt=";-)" />.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/3491/0-41-4-doesn-t-load-all-of-its-extensions/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/3491/0-41-4-doesn-t-load-all-of-its-extensions/2</guid><dc:creator><![CDATA[Maelstorm]]></dc:creator><pubDate>Tue, 26 Jan 2010 17:11:03 GMT</pubDate></item><item><title><![CDATA[Reply to 0.41.4 doesn&#x27;t load all of its extensions? on Wed, 03 Mar 2010 17:55:30 GMT]]></title><description><![CDATA[<p>sonu panwar: this spam is NOT appreciated on this forum.</p>
<p>Can an admin please let him know this as well?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/3491/0-41-4-doesn-t-load-all-of-its-extensions/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/3491/0-41-4-doesn-t-load-all-of-its-extensions/3</guid><dc:creator><![CDATA[ledhed2222]]></dc:creator><pubDate>Wed, 03 Mar 2010 17:55:30 GMT</pubDate></item><item><title><![CDATA[Reply to 0.41.4 doesn&#x27;t load all of its extensions? on Wed, 03 Mar 2010 18:03:58 GMT]]></title><description><![CDATA[<p>@ Maelstrom:</p>
<p>sorry, but could you please explain how I might use [declare]?</p>
<p>If I make a patch with just [declare -path &quot;path/external/subdirectory&quot;] and put it inside an external's folder, will that load the subdirectory's objects as well? The help file for [declare] also has a confusing warning about putting [declare] in abstractions.</p>
<p>Thanks</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/3491/0-41-4-doesn-t-load-all-of-its-extensions/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/3491/0-41-4-doesn-t-load-all-of-its-extensions/4</guid><dc:creator><![CDATA[ledhed2222]]></dc:creator><pubDate>Wed, 03 Mar 2010 18:03:58 GMT</pubDate></item><item><title><![CDATA[Reply to 0.41.4 doesn&#x27;t load all of its extensions? on Wed, 13 Apr 2011 13:29:53 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>i'm having several problems with the externals i'm trying to use.</p>
<p>First of all, I'm trying to add an external to print &quot;hello world&quot; on the screen. I copied the source from the &quot;my first external tutorial&quot; and everything compiled correctly. I added the ~.pd_linux and the ~.o on the /usr/lib/pd-extended/extra/helloworld directory.</p>
<p>In file-&gt;path... I put the /usr/lib/pd-extended/extra/helloworld. And in Startup... added external. My files are named external.pd_linux and external.o.</p>
<p>Once I have changed the path and startup settings the startup text box started showng the following messages:</p>
<pre><code>  [import] $Revision: 1.2 $
    [import] is still in development, the interface could change!
    compiled against Pd version 0.42.5
tried but couldn't sync A/D/A
libdir: can't load library
Gem: can't load library
cyclone: can't load library
zexy: can't load library
creb: can't load library
cxc: can't load library
iemlib: can't load library
list-abs: can't load library
mapping: can't load library
markex: can't load library
maxlib: can't load library
memento: can't load library
mjlib: can't load library
motex: can't load library
oscx: can't load library
pddp: can't load library
pdogg: can't load library
pixeltango: can't load library
pmpd: can't load library
rradical: can't load library
sigpack: can't load library
smlib: can't load library
toxy: can't load library
unauthorized: can't load library
pan: can't load library
hcs: can't load library
jmmmp: can't load library
ext13: can't load library
ggee: can't load library
flib: can't load library
ekext: can't load library
flatspace: can't load library
pdp: can't load library
pidip: can't load library
load_object: Symbol &quot;external_setup&quot; not found
external: can't load library
</code></pre>
<p>Does anyone know what I did wrong?</p>
<p>A last question. Once I got the library installed correctly, could I simply cal the method &quot;helloworld_setup&quot;, on an pd object to print my message?</p>
<p>Thanks for helping!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/3491/0-41-4-doesn-t-load-all-of-its-extensions/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/3491/0-41-4-doesn-t-load-all-of-its-extensions/5</guid><dc:creator><![CDATA[felipefujioka]]></dc:creator><pubDate>Wed, 13 Apr 2011 13:29:53 GMT</pubDate></item><item><title><![CDATA[Reply to 0.41.4 doesn&#x27;t load all of its extensions? on Wed, 13 Apr 2011 18:40:14 GMT]]></title><description><![CDATA[<p>The problem with the libraries was silly, I unchecked the search for the directories.</p>
<p>But i still don't understand how to use an external. I've already put the binaries on the right directory(i think), and set the paths and startup binaries.</p>
<p>What have i missed?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/3491/0-41-4-doesn-t-load-all-of-its-extensions/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/3491/0-41-4-doesn-t-load-all-of-its-extensions/6</guid><dc:creator><![CDATA[felipefujioka]]></dc:creator><pubDate>Wed, 13 Apr 2011 18:40:14 GMT</pubDate></item><item><title><![CDATA[Reply to 0.41.4 doesn&#x27;t load all of its extensions? on Wed, 13 Apr 2011 19:00:11 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>So you have the class built alright, but what exactly happens when you try to instantiate it in Pd? After you type 'helloworld' in an object box? Do you see red lines around it? What error message in the Pd console? Or, if it does instantiate, what happens when you send a bang into it?</p>
<p>Katja</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/3491/0-41-4-doesn-t-load-all-of-its-extensions/7</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/3491/0-41-4-doesn-t-load-all-of-its-extensions/7</guid><dc:creator><![CDATA[katjav]]></dc:creator><pubDate>Wed, 13 Apr 2011 19:00:11 GMT</pubDate></item><item><title><![CDATA[Reply to 0.41.4 doesn&#x27;t load all of its extensions? on Mon, 18 Apr 2011 13:21:48 GMT]]></title><description><![CDATA[<p>It is not loading my external.</p>
<p>in the PD-extended initiation</p>
<pre><code>load_object: Symbol &quot;helloworld_setup&quot; not found
helloworld: can't load library
</code></pre>
<p>what could it be?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/3491/0-41-4-doesn-t-load-all-of-its-extensions/8</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/3491/0-41-4-doesn-t-load-all-of-its-extensions/8</guid><dc:creator><![CDATA[felipefujioka]]></dc:creator><pubDate>Mon, 18 Apr 2011 13:21:48 GMT</pubDate></item><item><title><![CDATA[Reply to 0.41.4 doesn&#x27;t load all of its extensions? on Mon, 18 Apr 2011 16:39:09 GMT]]></title><description><![CDATA[<p>If you build the helloworld example, make sure your output file is will get the name helloworld.pd_linux, not external.pd_linux. Copy the binary into directory 'extra' in your Pd installation. Add directory to searchpath like this:</p>
<p>/usr/lib/pd-extended/extra</p>
<p>So, not with the file name included. Read this:</p>
<p><a href="http://en.flossmanuals.net/pure-data/ch011_advanced-configuration" rel="nofollow">http://en.flossmanuals.net/pure-data/ch011_advanced-configuration</a></p>
<p>Then, restart Pd and instantiate a helloworld object. The symbol should be found. If not, run command nm on the binary to check which symbols are exported. Should look like this:</p>
<blockquote>
<p>/Applications/Pd-extended.app/Contents/Resources/extra/katja/helloworld.pd_darwin(single module):<br />
00000f34 t __dyld_func_lookup<br />
00000000 t __mh_dylib_header<br />
U _class_addbang<br />
U _class_new<br />
U _gensym<br />
00000f42 T _helloworld_bang<br />
0000100c b _helloworld_class<br />
00000f5a T _helloworld_new<br />
00000f7b T _helloworld_setup<br />
U _pd_new<br />
U _post<br />
00000f20 t dyld_stub_binding_helper</p>
</blockquote>
<p>Katja</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/3491/0-41-4-doesn-t-load-all-of-its-extensions/9</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/3491/0-41-4-doesn-t-load-all-of-its-extensions/9</guid><dc:creator><![CDATA[katjav]]></dc:creator><pubDate>Mon, 18 Apr 2011 16:39:09 GMT</pubDate></item><item><title><![CDATA[Reply to 0.41.4 doesn&#x27;t load all of its extensions? on Wed, 20 Apr 2011 18:47:16 GMT]]></title><description><![CDATA[<p>There is my binary</p>
<pre><code>00000068 T _Z14helloworld_newv
00000084 T _Z15helloworld_bangP11_helloworld
00000000 T _Z16helloworld_setupv
         U __gxx_personality_v0
         U class_addbang
         U class_new
         U gensym
00000000 b helloworld_class
         U pd_new
         U post
</code></pre>
<p>and the same errors occurs.</p>
<pre><code>load_object: Symbol &quot;helloworld_setup&quot; not found
helloworld: can't load library</code></pre>
]]></description><link>http://forum.pdpatchrepo.info/topic/3491/0-41-4-doesn-t-load-all-of-its-extensions/10</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/3491/0-41-4-doesn-t-load-all-of-its-extensions/10</guid><dc:creator><![CDATA[felipefujioka]]></dc:creator><pubDate>Wed, 20 Apr 2011 18:47:16 GMT</pubDate></item><item><title><![CDATA[Reply to 0.41.4 doesn&#x27;t load all of its extensions? on Wed, 20 Apr 2011 18:57:18 GMT]]></title><description><![CDATA[<p>Looks like you compiled C++. Why, the helloworld code is plain C. Also see this:</p>
<p><a href="http://puredata.hurleur.com/sujet-5535-external-development-shader" rel="nofollow">http://puredata.hurleur.com/sujet-5535-external-development-shader</a></p>
<p>Katja</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/3491/0-41-4-doesn-t-load-all-of-its-extensions/11</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/3491/0-41-4-doesn-t-load-all-of-its-extensions/11</guid><dc:creator><![CDATA[katjav]]></dc:creator><pubDate>Wed, 20 Apr 2011 18:57:18 GMT</pubDate></item><item><title><![CDATA[Reply to 0.41.4 doesn&#x27;t load all of its extensions? on Tue, 26 Apr 2011 12:03:30 GMT]]></title><description><![CDATA[<p>i'm really having several problems to load the library. My binary is still looking like the one i posted before.</p>
<blockquote>
<p>ld: helloworld.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC<br />
helloworld.o: could not read symbols: Bad value</p>
</blockquote>
<p>and now this new message ocurrs when mounting the .pd_linux.</p>
<blockquote>
<p>U class_addbang<br />
U class_new<br />
U gensym<br />
0000000000000000 T helloworld_bang<br />
0000000000000000 b helloworld_class<br />
000000000000001d T helloworld_new<br />
000000000000003e T helloworld_setup<br />
U pd_new<br />
U post</p>
</blockquote>
<p>My binary is like that now.</p>
<p>Did anyone have this same problem?</p>
<p>Thx</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/3491/0-41-4-doesn-t-load-all-of-its-extensions/12</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/3491/0-41-4-doesn-t-load-all-of-its-extensions/12</guid><dc:creator><![CDATA[felipefujioka]]></dc:creator><pubDate>Tue, 26 Apr 2011 12:03:30 GMT</pubDate></item></channel></rss>