[PD] Unity and libpd

Christof Ressi info at christofressi.com
Tue May 26 20:57:56 CEST 2020


Note that some externals might need to be recompiled with -DPDINSTANCE 
if they contain references to global symbols like s_float, s_list, etc. 
(that's why it's better to use gensym("float") and gensym("list") 
instead of &s_float or &s_list)

Also, older versions of libpd produced a Windows DLL with the name 
libpd.dll, but Pd externals on Windows link against pd.dll (symbols are 
not auto-imported). This has been fixed recently (1 year ago?).

Christof


On 26.05.2020 19:58, Dan Wilcox wrote:
> Externals work fine with libpd if it is compiled with libdl support. 
> You need to add the path to the external, then use declare to load it.
>
> Whoever is providing the C# libpd binary probably didn't compile it 
> with libdl. The compiler flag is listed in the libpd readme.
>
>> On May 26, 2020, at 4:22 PM, pd-list-request at lists.iem.at 
>> <mailto:pd-list-request at lists.iem.at> wrote:
>>
>> Date: Tue, 26 May 2020 11:00:53 -0300
>> From: Fede Camara Halac <camarafede at gmail.com 
>> <mailto:camarafede at gmail.com>>
>> To: Pd-List <pd-list at lists.iem.at <mailto:pd-list at lists.iem.at>>
>> Subject: Re: [PD] Unity and libpd
>> Message-ID: <7B245B40-420A-4CE3-B01D-BBB287BB4C79 at gmail.com 
>> <mailto:7B245B40-420A-4CE3-B01D-BBB287BB4C79 at gmail.com>>
>> Content-Type: text/plain; charset="utf-8"
>>
>> One thing I'd like is to have a way of compiling externals to use 
>> with libpd.
>
> --------
> Dan Wilcox
> @danomatika <http://twitter.com/danomatika>
> danomatika.com <http://danomatika.com>
> robotcowboy.com <http://robotcowboy.com>
>
>
>
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20200526/8e184606/attachment-0001.html>


More information about the Pd-list mailing list