Bugs item #1917574, was opened at 2008-03-18 01:01 Message generated for change (Comment added) made by reduzent You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1917574...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: marius schebella (mariusschebella) Assigned to: Nobody/Anonymous (nobody) Summary: declare not working on osx
Initial Comment: I am not sure if declare is working the way it is supposed to on OSX the object I am trying to create is [OSCroute]. I can create [oscx/OSCroute], but what I want to accomplish is to avoid the oscx prefix, so I tried [declare -stdpath extra/oscx] [declare -stdpath oscx] [declare -path extra/oscx] [declare -path oscx] [declare -stdlib extra/oscx] [declare -stdlib oscx] [declare -lib extra/oscx] [declare -lib oscx] I even tried [declare -stdpath extra/oscx] in combination with import oscx. and I get a console printout saying [import] loaded library: oscx, but OSCroute ... couldn't create don't know how to track down the error, or if I am maybe doing something wrong. pd-extended-0.40.3-20080222.
----------------------------------------------------------------------
Comment By: Roman Haefeli (reduzent) Date: 2008-03-20 11:11
Message: Logged In: YES user_id=1895440 Originator: NO
the same test on a ubuntu ppc machine with pd 0.41-4 compiled from source and installed to the default location gave similar results:
output from pd-window: ----------------------
tried /home/olivia/declare_test.pd and succeeded tried /home/olivia/extra/foo/bar.l_i386 and failed tried /home/olivia/bar.l_i386 and failed tried /usr/local/lib/pd/extra/bar.l_i386 and failed tried /home/olivia/extra/foo/bar.pd_linux and failed tried /home/olivia/bar.pd_linux and failed tried /usr/local/lib/pd/extra/bar.pd_linux and failed tried /home/olivia/extra/foo/bar/bar.l_i386 and failed tried /home/olivia/bar/bar.l_i386 and failed tried /usr/local/lib/pd/extra/bar/bar.l_i386 and failed tried /home/olivia/extra/foo/bar/bar.pd_linux and failed tried /home/olivia/bar/bar.pd_linux and failed tried /usr/local/lib/pd/extra/bar/bar.pd_linux and failed tried /home/olivia/extra/foo/bar.pd and failed tried /home/olivia/bar.pd and failed tried /usr/local/lib/pd/extra/bar.pd and failed tried /home/olivia/extra/foo/bar.pat and failed tried /home/olivia/bar.pat and failed tried /usr/local/lib/pd/extra/bar.pat and failed bar ... couldn't create
instantiating [foo/bar] works fine, which means, that installation of [bar] is correct and pd finds it in extra/foo.
----------------------------------------------------------------------
Comment By: Roman Haefeli (reduzent) Date: 2008-03-20 10:48
Message: Logged In: YES user_id=1895440 Originator: NO
while [declare -stdlib] seems to work, [declare -stdpath] doesn't work on windows as well. i created a folder 'foo' into the extra directory and put a file 'bar.pd' in there.
my test setup: --------------
pd installation path: D:\programme\pd-0.41\
pd executable: D:\programme\pd-0.41\bin\pd.exe
test-abstraction: D:\programme\pd-0.41\extra\foo\bar.pd
test-patch: D:\home\declare_test.pd
test-patch contains:
[declare -stdpath extra/foo]
[bar]
pd start command: D:\programme\pd-0.41\bin\pd.exe -verbose -open D:\home\declare_test.pd
output from pd-window: ----------------------
tried D:\home\declare_test.pd and succeeded tried D:\home\..\extra\foo\bar.m_i386 and failed tried D:\home\bar.m_i386 and failed tried D:\programme\pd-0.41\extra\bar.m_i386 and failed tried D:\home\..\extra\foo\bar.dll and failed tried D:\home\bar.dll and failed tried D:\programme\pd-0.41\extra\bar.dll and failed tried D:\home\..\extra\foo\bar\bar.m_i386 and failed tried D:\home\bar\bar.m_i386 and failed tried D:\programme\pd-0.41\extra\bar\bar.m_i386 and failed tried D:\home\..\extra\foo\bar\bar.dll and failed tried D:\home\bar\bar.dll and failed tried D:\programme\pd-0.41\extra\bar\bar.dll and failed tried D:\home\..\extra\foo\bar.pd and failed tried D:\home\bar.pd and failed tried D:\programme\pd-0.41\extra\bar.pd and failed tried D:\home\..\extra\foo\bar.pat and failed tried D:\home\bar.pat and failed tried D:\programme\pd-0.41\extra\bar.pat and failed bar ... couldn't create
it looks like [declare -stdpath] is adding the search path relative to the patch instead of relative to pd.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1917574...