[LV2] Ardour doesn't find lv2

David Robillard d at drobilla.net
Tue Dec 11 10:28:45 PST 2012


On Tue, 2012-12-11 at 18:24 +0100, rosea.grammostola wrote:
> On 12/11/2012 05:49 PM, David Robillard wrote:
> > Step through lilv_world_load_all.  There it will be obvious which lv2 path is being used.
> 
> (gdb) run
> Starting program: /usr/bin/lv2ls
> 
> Breakpoint 1, lilv_world_load_all (world=0x602010) at 
> ../lilv/src/world.c:730
> 730             const char* lv2_path = getenv("LV2_PATH");
> (gdb) n
> 731             if (!lv2_path)

... I was going to say "print lv2_path" but I figured it was obvious.

Guess not ;)

Since this branch is not hit, your LV2_PATH *is* set.  You lied.

From here you can easily step through the loading process and see
exactly what happens, lilv_world_load_directory will be called for each
discovered bundle.  Please do so rather than post 40 million fragments
of stack traces to the list.

-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/48fef4cd/attachment-0002.pgp>


More information about the Devel mailing list