[LAD] Suil Lv2 UI: Unable to wrap UI type

Harry Van Haaren harryhaaren at gmail.com
Fri Jun 10 15:29:30 UTC 2011


Hey all,

I'm having a problem instantiating the UI of the parametric EQ by Nedko &
Fons. ( http://nedko.arnaudov.name/soft/lv2fil/trac/wiki/WikiStart )

I can instantiate the Invada suite no problem. They have a
http://lv2plug.in/ns/extensions/ui#GtkUI  type UI & the host is also Gtk.

    instance = suil_instance_new(    suilHost,
                                    0, // pass a pointer to the controller
objects here
                                    "
http://lv2plug.in/ns/extensions/ui#GtkUI",           // target UI widget
type

                                    "
http://nedko.aranaudov.org/soft/filter/2/mono",    // plugin URI
                                    "
http://nedko.aranaudov.org/soft/filter/2/gui",        // plugin UI URI
                                    "
http://lv2plug.in/ns/extensions/ui#external",        // plugin UI TYPE URI
                                    "/usr/lib/lv2/filter.lv2/",
                            // plugin UI bundle
                                    "/usr/lib/lv2/filter.lv2/filter.so",
                         // plugin UI binary

                                    &featureArray[0]);
                         // supported features by host

    // get widget of the UI instance
    SuilWidget widget = suil_instance_get_widget(instance);

    // add widget to container, casting "SuilWidget" to "GtkWidget*" as the
target UI type is ui#GtkUI
    gtk_container_add (GTK_CONTAINER ( hbox->gobj() ), (GtkWidget*) widget);

The error I get (at runtime) is the following:
error: get_wrap_module: Unable to wrap UI type <
http://lv2plug.in/ns/extensions/ui#external> as type <
http://lv2plug.in/ns/extensions/ui#GtkUI>
error: suil_instance_new: Failed to instantiate UI <
http://nedko.aranaudov.org/soft/filter/2/gui> in
/usr/lib/lv2/filter.lv2/filter.so

Would anybody shed some light onto what I'm doing wrong?
Cheers, -Harry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20110610/b91dca52/attachment.html>


More information about the Linux-audio-dev mailing list