[LAD] New LV2 host implementation stack

Stefano D'Angelo zanga.mail at gmail.com
Wed May 25 12:10:00 UTC 2011

2011/5/25 Ralf Mattes <rm at mh-freiburg.de>:
> On Wed, 25 May 2011 00:51:36 -0400, David Robillard wrote:
>> Hi all,
>> I have released my new stack of libraries for implementing LV2 in hosts:
>> * Serd http://drobilla.net/software/serd
>>   A fast, lightweight, dependency-free Turtle syntax library
>> * Sord http://drobilla.net/software/sord
>>   An in-memory RDF quad store
>> * Lilv http://drobilla.net/software/lilv
>>   An LV2 host library (replaces SLV2)
>> * Suil http://drobilla.net/software/suil
>>   An LV2 UI loading/embedding library
>> These libraries collectively replace SLV2, and have no dependencies
>> except amongst themselves, and Glib (by Lilv and Sord, but this
>> dependency will likely be removed in the near future).  Serd and Sord
>> replace Redland, making for a much smaller implementation more
>> appropriate for audio software and embedded applications.
>> Overall, Lilv is dramatically faster and leaner than SLV2, enough that
>> the improvement should be quite noticeable from a user point of view
>> (typically in a lag when the host first loads all LV2 data).  Anyone
>> using SLV2 is highly encouraged to migrate to Lilv.
>> These libraries are well tested, each (except Suil) with a test suite
>> covering over 90% of the code, which runs without memory errors or
>> leaks.  They are new, however, so (as always) there may be problems;
>> feedback (at http://dev.drobilla.net/newticket or personally) is most
>> welcome.
>> More information available at the links mentioned above.  For the
>> lazy/eager, all downloads can be found in http://download.drobilla.net
>> Peace,
>> -dr
>> P.S. Packagers, please read the PACKAGING file!
> Thanks a lot for saving us from the horrors of redland.
> But: I just did a fresh svn checkout of http://svn.drobilla.net/lad/trunk
> and tried a top-level build (./waf configure && ./waf build) which fails miserably
> complaining about:
>  Waf: Entering directory `/Development/drobillard/build'
> [  8/434] cxx: plugins/lolep.lv2/src/LV2Plugin.cpp -> build/plugins/lolep.lv2/src/LV2Plugin.cpp.5.o
> [  9/434] cxx: plugins/lolep.lv2/src/arith.cpp -> build/plugins/lolep.lv2/src/arith.cpp.5.o
> ../plugins/lolep.lv2/src/arith.cpp:20:45: error: lv2/lv2plug.in/ns/ext/atom/atom.h: No such file or directory
> ../plugins/lolep.lv2/src/arith.cpp:21:53: error: lv2/lv2plug.in/ns/ext/contexts/contexts.h: No such file or directory
> ../plugins/lolep.lv2/src/arith.cpp:22:51: error: lv2/lv2plug.in/ns/ext/uri-map/uri-map.h: No such file or directory
>  ... and so on. Is this expected?

You need LV2 core >= 4.0 to be installed, as well as the atom,
context, URI map etc. extensions, and you need to run lv2config to
automatically create links to those headers (including the
lv2/lv2plug.in/whatever directories) in either your system-wide
include directory (e.g., /usr/include) or somewhere else at your


More information about the Linux-audio-dev mailing list