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

Lucas Cordiviola lucarda27 at hotmail.com
Wed Dec 6 09:44:33 CET 2023


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.






More information about the Pd-list mailing list