hey oliver,
I think I know what caused your confusion:
the "externals install directory" is only meant as a hint for deken where to install things. after that it will ask you if it should add the new externals folder to the user paths, e.g. ".../externals/zexy". then you access the library without any declares. if you just move things to the externals install directory, you have to add the necessary paths yourself.
but yeah, it would be nice if you could just add the externals install directory to the path and selectively add libraries with declare. but right now declare can't interact with user paths and that's what Alex' pull request is about.
Christof
Gesendet: Montag, 21. August 2017 um 18:14 Uhr Von: oliver oliver@klingt.org An: Pd-list pd-list@mail.iem.at Betreff: Re: [PD] PD 0.48 - [declare] problem
Alexandre Torres Porres wrote:
2017-08-21 13:01 GMT-03:00 Alexandre Torres Porres <porres@gmail.com mailto:porres@gmail.com>:
I already responded to this in your previous thread
oh, btw, please don't change the thread namne without referring to an earlier and related discussion, this makes it hard for people to follow it. You could do something like (was: "name of earlier thread") after the new name you gave it.
ok, sorry for that
Let me just re emphasize how it is wrong to say "won't find any external/library anymore". Pd is not doing anything new!
you're right. what i wanted to say is that it's confusing to be allowed to chose a new externals location and then not being able to use it with [declare].
And anyway, here's a screenshot showing that what I just wrote about works, but for cyclone.
cheers
mmmh,
the [declare] help file says that the "-lib" flag only searches "relative to the patch". which is why i never used it.
if f.e. "cyclone" is added to the searchpaths at startup (either in the preferences or in a script with the -path flag) i don't have to declare it anymore.
the declare object as i use it, is only to make sure that an external is loaded when it is NOT in the startup search path.
anyway, thanks for all your time and patience in this !
best
oliver
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list