[LAD] Autotools and missing headers.

Luis Garrido luisgarrido at users.sourceforge.net
Fri Jun 19 13:25:56 UTC 2009


>> In file included from and.cpp:1:
>> /usr/include/lv2plugin.hpp:34:25: error: lv2_uri_map.h: No such file or
>> directory
>
> First of all, do you have the file lv2_uri_map.h on your system?  What is the
> path to the file?
>

Exactly, you have to somehow inform your gcc of where the headers are
via the -I option.

Nowadays most modern libraries use pkgconfig for this, the OP could
investigate whether lv2 distribution includes a .pc file (I see a
lv2core.pc.in file in the core distribution, so I take that as the
expected "yes") and how to use pkgconfig from autoconf.ac (the
PKG_CHECK_MODULES macro).

For a concise, hands-on introduction see:

http://trac.enlightenment.org/e/wiki/AutotoolsIntegration



More information about the Linux-audio-dev mailing list