Hans-Christoph Steiner wrote:
So the [fiddle~] bug is fixed, here's a new one (from OSX):
Launch Pd:
hans@sla:darwin_app > build/Pd.app/Contents/Resources/bin/pd -verbose -stderr
Try to use included [mtx_*]:
tried /Users/hans/cvs/pure-data/packages/darwin_app/mtx_*.pd_darwin and failed tried /Users/hans/cvs/pure-data/externals/build/darwin/mtx_*.pd_darwin and failed tried build/Pd.app/Contents/Resources/extra/mtx_*.pd_darwin and failed tried /Users/hans/cvs/pure-data/packages/darwin_app/mtx_*/mtx_*.pd_darwin and failed tried /Users/hans/cvs/pure-data/externals/build/darwin/mtx_*/mtx_*.pd_darwin and failed tried build/Pd.app/Contents/Resources/extra/mtx_*/mtx_*.pd_darwin and failed tried /Users/hans/cvs/pure-data/packages/darwin_app/mtx_0x2a.pd_darwin and failed tried /Users/hans/cvs/pure-data/externals/build/darwin/mtx_0x2a.pd_darwin and succeeded
so it succeeds here to find the external. however it fails to load the setup function. it then stops to search for more mtx_0x2a.pd_darwin files.
why? because the setup-function is not "mtx_0x2a_setup()" but rather "setup_mtx_0x2a()". in build/mtx_0x2a.c the wrong setup-function is defined.
tried /Users/hans/cvs/pure-data/packages/darwin_app/mtx_*/mtx_*/ mtx_0x2a.pd_darwin and failed
this is weird. i think it should try to search for mtx_0x2a/mtx_0x2a.pd_darwin instead of mtx_*/mtx_*/mtx_0x2a.pd_darwin.
It is indeed there:
hans@sla:darwin_app > ls -l build/Pd.app/Contents/Resources/extra/mtx_0x2a.pd_darwin -rwxr-xr-x 1 hans staff 48792 Nov 22 00:05 build/Pd.app/Contents/Resources/extra/mtx_0x2a.pd_darwin*
But it never looks for:
build/Pd.app/Contents/Resources/extra/mtx_0x2a.pd_darwin
see above: since it already found a mtx_0x2a.pd_darwin it stops looking for another one.
mfg.asdr IOhannes