#204 [declare]: '-stdpath' doesn't work on OS X

v0.40.2
open
nobody
puredata (322)
5
2007-11-08
2007-11-08
No

at least it doesn't work the same as on windows and linux. to add a path from extra directory, on windows and linux it works like this:

[declare -stdpath ../extra/<somedir>]

however, on OS X this doesn't work. although i asked the list several times, it seems that noone has ever managed to add a path using '-stdpath' on OS X.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I can confirm for Linux and http://crca.ucsd.edu/~msp/Software/pd-0.41-0test06.src.tar.gz

    Here [declare -stdpath XX] acts the same as [declare -path XX] which means it searches relative to the patchfile containing the declare-ation. I tested this by starting Pd with -verbose and looking in the error output when trying to create an non-existing object in a patch with the declare-ation.

    -- Frank Barknecht (who was too lazy to login...)

     
  • Hans-Christoph Steiner

    Logged In: YES
    user_id=27104
    Originator: NO

    On Mac OS X, you need to omit the "../", i.e. [declare -stdpath extra/<somedir>]. Since that means that [declare] with -path/-stdpath has broken behavior, I have suggested some changes that would make it more intuitive but would break on all platforms:

    http://lists.puredata.info/pipermail/pd-dev/2008-05/011779.html

     


Anonymous

Cancel  Add attachments