<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>I'm not sure but -lib might also work on linux.<br>
</p>
<pre class="moz-signature" cols="72">Mensaje telepatico asistido por maquinas.</pre>
<div class="moz-cite-prefix">On 2/21/2018 2:39 PM, Alex wrote:<br>
</div>
<blockquote type="cite" cite="mid:CAOGs2RDmCLaix0G2AKarRoJ9C1Z1ewC3=DvR6z75fKMO25SUvQ@mail.gmail.com">
<div dir="ltr">[declare -lib jit_expr] worked on my osx machine.<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Feb 21, 2018 at 9:27 AM, Lucas Cordiviola <span dir="ltr">
<<a href="mailto:lucarda27@hotmail.com" target="_blank" moz-do-not-send="true">lucarda27@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>Can you try on you osx [declare -lib jit_expr] or [declare -lib full/path/to/jit_expr]?</p>
<p>I'm not sure if -stdlib is currently covering the .../documents/pd/externals/* on all platforms.</p>
<p>see <a href="https://puredata.info/docs/faq/how-do-i-install-externals-and-help-files" target="_blank" moz-do-not-send="true">
https://puredata.info/docs/<wbr>faq/how-do-i-install-<wbr>externals-and-help-files</a> for the paths that -stdlib covers.<br>
</p>
<p>there's a discussion here : <a href="https://github.com/pure-data/pure-data/pull/205" target="_blank" moz-do-not-send="true">
https://github.com/pure-data/<wbr>pure-data/pull/205</a><br>
</p>
<p>---<br>
</p>
<p>I think there will be no name clashes if you keep your [jit_expr] naming. If you use [expr] it will clash with Pd's [expr].</p>
<p><br>
</p>
<p><br>
</p>
<p>--<br>
</p>
<pre class="m_-8363813289571867610moz-signature" cols="72">Mensaje telepatico asistido por maquinas.</pre>
<div>
<div class="h5">
<div class="m_-8363813289571867610moz-cite-prefix">On 2/21/2018 1:50 PM, Alex wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<div dir="ltr">
<div>I have an external I've created that I've put into: /Users/alex/Documents/Pd/<wbr>externals/jit_expr/<br>
</div>
the binary is called "jit_expr.pd_darwin"<br>
<div>
<div><br>
xnor-work:~/projects/perfect/<wbr>center$ ls /Users/alex/Documents/Pd/<wbr>externals/jit_expr/<br>
LICENSE-parser     LICENSE-pd         LICENSE-xnor       jit_expr-help.pd   jit_expr.pd_darwin<br>
<br>
</div>
<div>In the binary, the externals themselves are named "jit/expr" "jit/expr~" and "jit/fexpr~"<br>
</div>
<br>
On my work, osX machine, when I [declare -stdlib jit_expr] I then fail to create [jit/expr]<br>
</div>
<div>
<div>On my home, linux machine, where my external folder is located at /home/alex/.local/lib/pd/<wbr>externals/jit_expr and appropriately named jit_expr.pd_linux<br>
</div>
<div>I succeed to create [jit/expr] after [declare -stdlib jit_expr]<br>
<br>
</div>
<div>Is this a bug am I not following some naming convention that I should be?<br>
<br>
</div>
<div>I could see wanting to put my external in a folder called "jit" and then naming them "expr", "expr~" etc but I could imagine "jit" is more likely to collide and so "jit_expr" seemed more reasonable.<br>
</div>
<div>maybe I should just call the whole thing "jit_expr", and just call the objects "expr" etc without the prefix in the code and then be able to create [jit_expr/expr] with no declare because it'll be in the stdlib already?<br>
</div>
<div>Am I confusing conventions that exist for single binary libraries with multiple objects and binaries with only one?<br>
</div>
<div><br>
</div>
<div>Either way, should I file a bug that the behavior isn't the same on osx and linux?<br>
<br>
</div>
<div>thanks,<br>
</div>
<div>Alex<br>
</div>
</div>
</div>
<br>
<fieldset class="m_-8363813289571867610mimeAttachmentHeader"></fieldset> <br>
</div>
</div>
<pre>______________________________<wbr>_________________
Pd-dev mailing list
<a class="m_-8363813289571867610moz-txt-link-abbreviated" href="mailto:Pd-dev@lists.iem.at" target="_blank" moz-do-not-send="true">Pd-dev@lists.iem.at</a>
<a class="m_-8363813289571867610moz-txt-link-freetext" href="https://lists.puredata.info/listinfo/pd-dev" target="_blank" moz-do-not-send="true">https://lists.puredata.info/<wbr>listinfo/pd-dev</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>