[PD] How to deal with externals for both 64 and 32-bit Pd

Alexandros Drymonitis adrcki at gmail.com
Wed Dec 6 10:19:54 CET 2023


Yes, I'm using the latest pd-lib-builder (0.7.0), and compiled with 
floatsize=64 and extension=linux-amd64-64.so. I also use t_float instead 
of float in my code. I just checked the .c file to make sure.

On 12/6/23 11:06, Lucas Cordiviola wrote:
> Oh and also: your code should use t_float instead of float and 
> t_sample for audio floats.
>
>
> -- 
>
> Mensaje telepatico asistido por maquinas.
>
> On 06/12/2023 05:59, Lucas Cordiviola wrote:
>> On 06/12/2023 05:47, Alexandros Drymonitis wrote:
>>> Actually I just tried that with my [neuralnet] and it didn't work 
>>> for Pd64. I do get a neuralnet.linux-arm64-64.so, but puredata64 
>>> can't load it.
>>
>>
>> did you use "floatsize=64":
>>
>>     make floatsize=64 extension=linux-arm64-64.so
>>
>> ?
>>
>> are you using the latest https://github.com/pure-data/pd-lib-builder ?
>>
>> If i'm correct (and you are not using the latest plb) you can pass 
>> pre-processor flags
>>
>>     make CPPFLAGS=-DPD_FLOATSIZE=64 extension=linux-arm64-64.so
>>
>>
>> -- 
>>
>> Mensaje telepatico asistido por maquinas.
>>
>>
>>
>>
>> _______________________________________________
>> Pd-list at lists.iem.at mailing list
>> UNSUBSCRIBE and account-management -> 
>> https://lists.puredata.info/listinfo/pd-list
>
>
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list





More information about the Pd-list mailing list