[PD] Declare library path on windows?

Christof Ressi info at christofressi.com
Thu Jan 7 03:27:19 CET 2021


Ok, I see the problem. Try [declare -path Pd_Spectral_Toolkit -lib 
pd_spectral_toolkit]. *ugh*

The author uses capitalization for the library folder name 
(Pd_Spectral_Toolkit) , but the file name and the setup function are all 
lower case (pd_spectral_toolkit[_setup]). Since the Windows filesystem 
is not case sensitive, this creates extra weirdness.

Generally, for Pd libraries containg a single binary should, folder and 
file name should be the same! Please contact the project author and tell 
them to change the folder name to all lower case.

Christof

On 07.01.2021 03:09, Kylee Kennedy wrote:
> Thanks for the reply Christof, Hope you have a happy new year.
>
> When I declare on WinX 0.51-3 I get: "load_object: Symbol 
> "Pd_Spectral_Toolkit_setup" not found
> then a list of all the abstractions I used in that library that 
> ...couldn't create.
>
> Thanks again for the help,
> Kylee
>
>
>
>
>
>
> On Wed, Jan 6, 2021 at 5:50 PM Christof Ressi <info at christofressi.com 
> <mailto:info at christofressi.com>> wrote:
>
>     Same thing. "Pd_Spectral_Toolkit" is distributed as a single
>     binary library, which means you have to load it. If the library
>     also contains abstractions, you also have to add the path. In your
>     case that would be [declare -path Pd_Spectral_Toolkit -lib
>     Pd_Spectral_Toolkit].
>
>     ---
>
>     I really think we finally need a uniform [declare] syntax as
>     proposed by https://github.com/pure-data/pure-data/pull/440
>     <https://github.com/pure-data/pure-data/pull/440>. The binary
>     format of library should be an implementation detail which the
>     user shouldn't have to care about. For example, Kylee would only
>     need to write [declare Pd_Spectral_Toolkit].
>
>     Christof
>
>     On 07.01.2021 02:40, Kylee Kennedy wrote:
>>     Hey list,
>>
>>     What is the proper way to declare libraries on Windows 10? I'm
>>     unable to declare and right slash the path like the wiki
>>     suggests. I'm working with fftease~ and Pd_Spectal_Toolkit a
>>     bunch lately.
>>     "declare -path Pd_Spectral_Toolkit" doesn't seem to work. If I
>>     put the full path and right slashes, they disappear when I switch
>>     back from edit mode. The only process that works is if I open the
>>     extensions object list first.
>>
>>     Thanks,
>>     Kylee
>>
>>     _______________________________________________
>>     Pd-list at lists.iem.at  <mailto:Pd-list at lists.iem.at>  mailing list
>>     UNSUBSCRIBE and account-management ->https://lists.puredata.info/listinfo/pd-list  <https://lists.puredata.info/listinfo/pd-list>
>     _______________________________________________
>     Pd-list at lists.iem.at <mailto:Pd-list at lists.iem.at> mailing list
>     UNSUBSCRIBE and account-management ->
>     https://lists.puredata.info/listinfo/pd-list
>     <https://lists.puredata.info/listinfo/pd-list>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20210107/c86d8464/attachment-0001.html>


More information about the Pd-list mailing list