Re: [LAD] Autotools and missing headers.

From: Luis Garrido <luisgarrido@email-addr-hidden>
Date: Fri Jun 19 2009 - 16:25:56 EEST

>> 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
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Fri Jun 19 20:15:01 2009

This archive was generated by hypermail 2.1.8 : Fri Jun 19 2009 - 20:15:01 EEST