Re: [PD-dev] libpd search paths

2019-02-13 Thread Christof Ressi
> Actually I built the externals against pd version 0.49-0 and it makes sense > that they load properly with the same version. actually, Pd externals which only use the public API in m_pd.h are fully backwards compatible, e.g. many ancient externals from Pd extended still work with Pd 0.49. >

Re: [PD-dev] libpd search paths

2019-02-13 Thread Joseph Larralde
Mmmh you might have found the clue ... Actually I built the externals against pd version 0.49-0 and it makes sense that they load properly with the same version. node-libpd comes with an arm libpd binary which seems to come from an older version of pd (added 1 year ago). I can already tell that

Re: [PD-dev] libpd search paths

2019-02-13 Thread Giulio Moro via Pd-dev
Hmm, it should work with objects in the same folder as the pd file you open. I have tried that on Bela and I can remove the libpd_add_to_search_path() calls, and - as long as I pass the appropriate relative path to the _main.pd file - then abstractions that live in the same folder as _main.pd

Re: [PD-dev] libpd search paths

2019-02-13 Thread Lucas Cordiviola
there are a couple of things you can try with your [external] or with one that you are sure that works with your arch {1} as Giulio mentioned: 1) create a folder "jl" on the same dir as "main.pd" put an abstraction on "jl" folder. On "main.pd" call the abstraction with [jl/your-abs] If the

Re: [PD-dev] libpd search paths

2019-02-13 Thread Joseph Larralde
It seems to be a problem with externals because abstractions load just fine from the same folder (see also my answer to Lucas). I'm currently struggling to compile the node addon on my pi, and will let you know if I get some positive results. Le 13/02/19 à 13:47, Giulio Moro a écrit : Hmm, it

Re: [PD-dev] libpd search paths

2019-02-13 Thread Giulio Moro via Pd-dev
If loading abstractions works, then it is possible that the external you are trying to load is somehow incompatible. Was it built for this specific architecture, against the same exact version of PureData? Are the externals relying on any external library? Are those libraries - if any -

Re: [PD-dev] libpd search paths

2019-02-13 Thread Joseph Larralde
Hi Lucas, From everything you listed, only loading an abstraction from the same dir worked. I'll investigate in the addon's code itself and see if I can get it to work using `libpd_add_to_search_path()` somewhere. Also, I might precise that usually I declare my externals using their folder

Re: [PD-dev] libpd search paths

2019-02-13 Thread Joseph Larralde
Hi Giulio, Le 13/02/19 à 11:11, Giulio Moro a écrit : That sounds like an interesting project, although I struggle to understand how it would be used. Yes it is :) Actually we are working on a project where we make an extensive use of nodejs for distributed local applications, so it's worth