[LAD] Autotools and missing headers.

Ulrich Lorenz Schlüter audio-mobster at gmx.de
Sun Jun 21 03:50:40 UTC 2009


Hi Gabriel

Gabriel M. Beddingfield wrote: 
>
> Ulrich Lorenz Schlüter wrote:
>> thats not what I wanted but I'll make my mind up.
>
> g++ can't find your headers (e.g. lv2_uri_map.h, lv2_saverestore.h, 
> etc.). Where are they installed?
/usr/include/lv2-c++-tools/lv2_uri_map.h
/usr/include/lv2-c++-tools/lv2_saverestore.h
/usr/include/raul/lv2_event.h
/usr/include/lv2-c++-tools/lv2_contexts.h
/usr/include/lv2-c++-tools/lv2types.hpp

To configure.ac I already added:
PKG_CHECK_MODULES(RAUL, raul, ,[AC_MSG_ERROR(Can't find raul)])
To Makefile.am i added:
CPPFLAGS =  -I/usr/include/lv2-c++-tools -I/usr/include/raul
Same errors.

> It would help if we could see what the g++ command looked like when 
> `make` ran it.  That way we can see which -I and -D flags were set.
>
/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I..     -g -O2 -MT and.lo -MD -MP -MF .deps/and.Tpo -c -o and.lo and.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT and.lo -MD 
-MP -MF .deps/and.Tpo -c and.cpp  -fPIC -DPIC -o .libs/and.o

Now I see that it's obvious that -I and -D flags seem wrong but I got no 
clue why?

Thanks

Uli



More information about the Linux-audio-dev mailing list