<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>
<blockquote type="cite">I meant you have to get the source of the
externals and compile it yourself</blockquote>
Not necessarily. That is only the case if libpd is compiled with
multi-instance support and the (single-instance) external uses
global variables (like 's_symbol', 's_float', etc.).</p>
<p>The 's_*' variables will cause an obvious linker error. 'pd_this'
is a bit more tricky*), but I think externals are not supposed to
use it directly.</p>
<p>Christof<br>
</p>
<p>*) For single-instance externals 'pd_this' is a macro for
accessing 'pd_maininstance', while for multi-instance libpd
'pd_this' points to the current instance. Unfortunately, the
latter also exports 'pd_maininstance', so we would get silent
failures instead of a linker error. Maybe multi-instance libpd
shouldn't export 'pd_maininstance' at all?<br>
</p>
<div class="moz-cite-prefix">On 02.01.2021 22:33, Alexandre Torres
Porres wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAEAsFmgpEX0-5e84aRKfy=der_m30KLZfoB3nW8rU6nbp__ghQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">Em sáb., 2 de jan. de 2021 às 15:35, IOhannes m
zmölnig <<a href="mailto:zmoelnig@iem.at" target="_blank"
moz-do-not-send="true">zmoelnig@iem.at</a>> escreveu:<br>
</div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">Am 2. Jänner 2021
17:10:21 MEZ schrieb Alexandre Torres Porres <<a
href="mailto:porres@gmail.com" target="_blank"
moz-do-not-send="true">porres@gmail.com</a>>:<br>
> Yeah, we<br>
> have libpd, but that doesn't support externals out of
the box, for<br>
> instance.</blockquote>
<div><br>
</div>
<div>Yeah, I know you can compile libpd with externals, bue
well, you know, by "out of the box" I meant you have to get
the source of the externals and compile it yourself, and
that alone may even not work right away, so it involves some
hassle. </div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a class="moz-txt-link-freetext" href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>
</pre>
</blockquote>
</body>
</html>