Hi,
-------- Original Message -------- Subject: Re: [PD] gtk-open-save broken with gui-plugins From: Hans-Christoph Steiner hans@at.or.at To: yvan volochine yvan.pd@gmail.com CC: lsutton@libero.it, pd-list@iem.at Date: 27/04/11 01:19
Hey Yvan,
You need to use the recently added $::current_plugin_loadpath. I think you can skip the multi-level paths (bin/, src/) and just include the .c and binary, and the tcl plugin in a single gtk-open-plugin folder, then you would use the binary from:
"$::current_plugin_loadpath/gtk-open-plugin/pd_gtk_open"
Currently the ./bin path is hard-coded in the plug-in which indeed is not very nice. I should probably separate the source and the binaries, maybe with a simple install procedure.
.hc
On Apr 26, 2011, at 3:26 PM, yvan volochine wrote:
ciao
it seems that gtk-open-save stops working as soon as I have any other gui-plugin in my path. it fails back to (ugly) tk open with this warning:
WARNING: pd_gtk_open binary NOT found: /home/yvan/dev/pd_stuffs/gui-plugins/PLUGINNAME/bin/pd_gtk_open. Using Tk open
That means it can't find the pd_gtk_open for some reason. I'm note sure where the PLUGINNAME comes from though. My understanding is that $::current_plugin_loadpath will give the path where the plugin tcl file resides.
if I remove *all* gui-plugins from my path, it works again.
I have no idea why it works that way.
(archlinux, pd-0.43)
Vanilla?
Lorenzo.
cheers, _y
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
¡El pueblo unido jamás será vencido!