Re: [LAD] Autotools and missing headers.

From: Ulrich Lorenz Schlüter <audio-mobster@email-addr-hidden>
Date: Sun Jun 21 2009 - 06:50:40 EEST

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
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Sun Jun 21 08:15:02 2009

This archive was generated by hypermail 2.1.8 : Sun Jun 21 2009 - 08:15:02 EEST