Re: [LAD] Autotools and missing headers.

2009-06-22 Thread Ulrich Lorenz Schlüter
Hi, thanks for your help but I'm already with waf now. Builds fine although I haven't tested the binaries. Was wondering why I mustn't tell waf about any libraries. It's very easy and fast to learn although I didn't know anything about python I'm not even sure what a preprocessor does. Regard

Re: [LAD] Autotools and missing headers.

2009-06-22 Thread Stefan Kost
Mark Vitek schrieb: > > > > Don't set CPPFLAGS or anything like it in Makefile.am. These are set in > confingure.ac . Also, there's rules about > which ones the user sets and which one > the build system sets. E.g. I think CFLAGS is reserved for the >

Re: [LAD] Autotools and missing headers.

2009-06-21 Thread Mark Vitek
> Don't set CPPFLAGS or anything like it in Makefile.am. These are set in > confingure.ac. Also, there's rules about which ones the user sets and > which one > the build system sets. E.g. I think CFLAGS is reserved for the build > system, > but CPPFLAGS reserved for the user. > > HTH, > Gabriel

Re: [LAD] Autotools and missing headers.

2009-06-21 Thread Gabriel M. Beddingfield
Ulrich Lorenz Schlüter wrote: > To configure.ac I already added: > PKG_CHECK_MODULES(RAUL, raul, ,[AC_MSG_ERROR(Can't find raul)]) In configure.ac, put: PKG_CHECK_MODULES([LV2CORE], lv2core, ,[AC_MSG_ERROR(Can't find liblv2core)]) PKG_CHECK_MODULES([LV2_PLUGIN], lv2-plugin, ,[AC_MSG_ERROR(Can't f

Re: [LAD] Autotools and missing headers.

2009-06-20 Thread Ulrich Lorenz Schlüter
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+

Re: [LAD] Autotools and missing headers.

2009-06-19 Thread Gabriel M. Beddingfield
Hi Uli, 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? It would help if we could see what the g++ command looked like when `make` ran it. That way we can see

Re: [LAD] Autotools and missing headers.

2009-06-19 Thread Ulrich Lorenz Schlüter
Thanks, thats not what I wanted but I'll make my mind up. Uli ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev

Re: [LAD] Autotools and missing headers.

2009-06-19 Thread Gabriel M. Beddingfield
James Warden wrote: > > I knew close to nothing about python but chose waf for the build environment Well, if you don't know Python, here's my hearty recommendation (regardless of the build system you use): LEARN PYTHON. It's easy, it makes sense, it's improved my productivity everywhe

Re: [LAD] Autotools and missing headers.

2009-06-19 Thread Krzysztof Foltman
Luis Garrido wrote: > Exactly, you have to somehow inform your gcc of where the headers are > via the -I option. One problem: the LV2 extension headers aren't supposed to be installed system-wide, they're usually distributed with individual software packages (Ingen, Calf, Ardour... you name it).

Re: [LAD] Autotools and missing headers.

2009-06-19 Thread Luis Garrido
>> 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

Re: [LAD] Autotools and missing headers.

2009-06-19 Thread James Warden
Hi, I knew close to nothing about python but chose waf for the build environment of a project. Depending on how comfortable you are with learning prog. languages, this is not really difficult. And there are tons of examples to get inspired. I would recommend waf as the project I set up with it

Re: [LAD] Autotools and missing headers.

2009-06-19 Thread Gabriel M. Beddingfield
Hi Ulrich, Ulrich Lorenz Schlüter wrote: > I try to develop some Autotools scripts for my project and I'm getting > following make/compile errors: FWIW, Autotools is a pretty good thing, but it's tricky to learn... and not a fun process. (Well, M4 macros are *kind* of fun... but that's about i

Re: [LAD] Autotools and missing headers.

2009-06-19 Thread David Aguilar
On Fri, Jun 19, 2009 at 07:18:36AM +0200, Ulrich Lorenz Schlüter wrote: > Hello, > > I try to develop some Autotools scripts for my project and I'm getting > following make/compile errors: > > In file included from and.cpp:1: > /usr/include/lv2plugin.hpp:34:25: error: lv2_uri_map.h: No such file

[LAD] Autotools and missing headers.

2009-06-18 Thread Ulrich Lorenz Schlüter
Hello, I try to develop some Autotools scripts for my project and I'm getting following make/compile errors: In file included from and.cpp:1: /usr/include/lv2plugin.hpp:34:25: error: lv2_uri_map.h: No such file or directory /usr/include/lv2plugin.hpp:35:29: error: lv2_saverestore.h: No such fil