I just tried loading gridflow 9.13 on Pd-extended 0.43 on Mac OS X 10.6.8, and 
it couldn't load because it was looking for libpng12.0.dylib inside of 
Pd-extended.  The included dylibs are automatically included based on what the 
included objects are linked to, so they are not good to rely on, because they 
can change in a given version.

So you can easily include libpng12.0.dylib in your gridflow package, here's how:

cp /Applications/Pd-extended.app/Contents/lib/libpng12.0.dylib \
    /Library/Pd/gridflow/libpng12/
install_name_tool -id /Library/Pd/gridflow/libpng12/libpng12.0.dylib \
    /Library/Pd/gridflow/libpng12/libpng12.0.dylib
install_name_tool -change @executable_path/../../lib/libpng12.0.dylib \
    @loader_path/libpng12/libpng12.0.dylib \
    /Library/Pd/gridflow/gridflow.pd_darwin

Now the gridflow/ folder can go into /Library/Pd, ~/Library/Pd or anywhere 
really.  @loader_path is the path from where gridflow.pd_darwin is loaded.

.hc

----------------------------------------------------------------------------

"A cellphone to me is just an opportunity to be irritated wherever you are." - 
Linus Torvalds


_______________________________________________
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev

Reply via email to