Menu

#1212 [declare -stdpath] does not work on Windows

v0.46
open
None
5
2018-10-08
2015-07-04
No

[declare -stdpath] doesn't expand any paths (or at least not the expected ones) on Windows.

When using [declare -stdpath extra/osc] in Linux, [packOSC] can be loaded (at least) from the following locations:

/usr/lib/pd/extra/osc
/home/user/pd-externals/osc

When using [declare -stdpath extra/osc] on Windows XP, [packOSC] is not found, while osc is installed in one of those folders:

C:\Documents and Settings\user\Application Data\Pd\osc
C:\Program Files\Common Files\pd\osc
<pd-install-path>\extra\osc</pd-install-path>

However, when Pd is installed in C:\Program Files\pd, this is searched:

C:\Program Files\pd\extra\osc

(but not the other standard paths).

There seems to be no issue with the -stdlib flag. When using [declare -stdlib extra/zexy], zexy objects can be instantiated when zexy is installed in one of those locations:

C:\Documents and Settings\user\Application Data\Pd\zexy
C:\Program Files\Common Files\pd\zexy
<pd-install-path>\extra\zexy</pd-install-path>

Discussion

  • Roman Haefeli

    Roman Haefeli - 2015-07-04

    Please ignore this section:

    "However, when Pd is installed in C:\Program Files\pd, this is searched:

    C:\Program Files\pd\extra\osc

    (but not the other standard paths)."

    I was accidentally using Pd 0.43, that is why I got different results. Pd install path does not matter. Sorry for the noise.

     
  • IOhannes m zmölnig

    can we close this, now that Pd-0.49 has a revamped search-functionality (and i suggest to use -path instead of -stdpath)?

     

Anonymous
Anonymous

Add attachments
Cancel