[PD-dev] problem loading tcl tk plugin with binary

Alexandre Torres Porres porres at gmail.com
Sat May 13 17:50:09 CEST 2023


but how can I use it? Simply trying to include 'load_plugin_script' gives
me "symbol load_plugin_script not found"

I'm trying something like this in the setup

    *char* plugin[MAXPDSTRING];

    sprintf(plugin, "%s/else-browser.tcl",
else_obj_class->c_externdir->s_name);

    load_plugin_script(plugin);

Em sáb., 13 de mai. de 2023 às 08:04, IOhannes m zmölnig <zmoelnig at iem.at>
escreveu:

> Am 12. Mai 2023 21:51:15 MESZ schrieb Alexandre Torres Porres <
> porres at gmail.com>:
> > within"category_menu::create .popup"    ("eval" body
> >line 55)    invoked from within"eval [read [open [file join
> >/Users/ale/Documents/Pd/externals/else else-browser.tcl]]]"
>
>
> For starters, this is really not how you should try to load your
> gui-plugin.
> Instead use the `load_plugin_script` proc. (Speaking of which: note to
> myself to remove the "tcl" extension when calling this proc)
>
>
> mfg.sfg.jfd
> IOhannes
>
>
> _______________________________________________
> Pd-dev mailing list
> Pd-dev at lists.iem.at
> https://lists.puredata.info/listinfo/pd-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20230513/f0e91a1b/attachment.htm>


More information about the Pd-dev mailing list