denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Denemo-devel] Trying to compile 0.7.7


From: Richard Shann
Subject: Re: [Denemo-devel] Trying to compile 0.7.7
Date: Mon, 21 Apr 2008 17:59:35 +0100

On Mon, 2008-04-21 at 09:35 -0700, Bob van der Poel wrote:
> > which may mean that the compiler prefers system-wide versions, while I
> > have a version in the denemo/src directory. I don't know whether this
> > file is customised in any way - some chickens coming home to roost here,
> > I'm afraid. If you have the time, could you change the line
> > #include <portaudio.h>
> > to
> > #include "portaudio.h"
> > in the file audiocapture.c and see if that fixes it? It may, or it may
> > be that the compiler still looks in system directories first (but I
> > don't expect so). If it works I'll change the source. On my box, even
> > though there is a /usr/include/portaudio.h it picks up the file
> > denemo/src/portaudio.h
> 
> I think you might have been bitten in the past and added portaudio.h to 
> YOUR tree. But, it is not in the download of 0.7.8.
Hmm, it is in CVS - and you are quite right that it shouldn't be. I've
just deleted it from my local copy and it compiles ok using the system
one and the audio stuff is working. I'll delete it from CVS. 

>  So using "" instead 
> of <> makes no difference. Yup, just tired it :)
> 
> Also, it sounds dangerous to use a library include file in the source 
> which may or may not match the binary on the system. Much better would 
> be a test for the version and wrap in the proper code.

Yes, I don't think a lot of library version checking is done at present.
Thanks for your insights
Richard






reply via email to

[Prev in Thread] Current Thread [Next in Thread]