[LV2] Ardour doesn't find lv2

David Robillard d at drobilla.net
Tue Dec 11 13:51:08 PST 2012


On Tue, 2012-12-11 at 20:57 +0100, rosea.grammostola wrote:
> On 12/11/2012 07:28 PM, David Robillard wrote:
[...]
> I've no experience with gdb, what I sent was what I get with help via IRC

Fair enough.

> (gdb) n
> 737             LILV_FOREACH(plugins, p, world->plugins) {
> (gdb) n
> 758             lilv_world_load_specifications(world);
> (gdb) n
> 759             lilv_world_load_plugin_classes(world);
> (gdb) n
> 760     }
> (gdb) n
> main (argc=1, argv=0x7fffffffe468) at ../lilv/utils/lv2ls.c:86
> 86              const LilvPlugins* plugins = 
> lilv_world_get_all_plugins(world);
> (gdb) n
> 88              list_plugins(plugins, show_names);
> (gdb) n
> 90              lilv_world_free(world);
> (gdb) n
> 92              return 0;
> (gdb) n
> 93      }
> (gdb) n
> 0x00007ffff7236ead in __libc_start_main () from 
> /lib/x86_64-linux-gnu/libc.so.6

There is once again no useful information here.

Print lv2_path and see what it is.  lilv_world_load_path() is your point
of interest, everything after (i.e. here) is after all the plugins are
discovered and irrelevant.  Stepping through lilv_world_load_path() will
explicitly show you exactly what directories are being searched.  It
will call lilv_world_load_directory() for each directory in the path.

It seems almost certain that your LV2 path is simply incorrect.  If not,
and lilv_world_load_directory() is indeed being called for actual
directories that contain LV2 plugins, then... well, we'll deal with that
if it's the case.  I suspect it's not.

-dr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lv2plug.in/pipermail/devel-lv2plug.in/attachments/20121211/73f38e5f/attachment-0002.pgp>


More information about the Devel mailing list