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

Alexandros Drymonitis adrcki at gmail.com
Wed Dec 6 09:47:30 CET 2023


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.

On 12/6/23 10:44, Lucas Cordiviola wrote:
>
> On 06/12/2023 05:27, Alexandros Drymonitis wrote:
>> Sorry for the second question, now read the pd-lib-builder README. It 
>> states that 64-bit externals will indeed get a different name. 
>
>
> essentialy you need to do 2 compilations (no need to use different 
> m_pd.h as they are the same)
>
> then you have 2 files:
>
>  - my_lib.linux-amd64-32.so
>
>  - my_lib.linux-amd64-64.so
>
> in the same path. Pd will load the the $-32.so and Pd64 the $-64.so. 
> there are other combinations of file name that depends on the search 
> order of the Pd(variant).
>
>
> -- 
>
> Mensaje telepatico asistido por maquinas.
>
>
>
>
> _______________________________________________
> 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