denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] darwin-x86 errors


From: Jeremiah Benham
Subject: Re: [Denemo-devel] darwin-x86 errors
Date: Fri, 28 Mar 2014 15:02:43 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

On Fri, Mar 28, 2014 at 11:05:07AM +0100, Éloi Rivard wrote:
> This should be fixed now, can you check ?

It compiles after I applied this patch:
diff --git a/src/audio/pitchrecog.c b/src/audio/pitchrecog.c
index 80c246e..0d15b34 100644
--- a/src/audio/pitchrecog.c
+++ b/src/audio/pitchrecog.c
@@ -440,7 +440,7 @@ store_pitch (double pitch)
 #include <math.h>
 #define AUBIO_UNSTABLE 1
 #include <aubio/aubio.h>
-#include <audio.h>
+//#include <audio.h>
 #include <glib.h>
 #include "audio/pitchrecog.h"


At the top of the file (I think around line 20) it has 
#include <audio/audio.h>. I do have this. Is is <audio.h> on some systems? 

Jeremiah 
> 
> 
> 
> 2014-03-28 10:41 GMT+01:00 Richard Shann <address@hidden>:
> 
> > I suspect this will be due to the name of the include file which
> > supplies DENEMO_SAMPLE_TYPE clashing with another file of the same name
> > - the filename is audio.h which is now in
> > denemo/src/audio/audio.h
> >
> > perhaps Eloi's refactoring has resulted the include search path finding
> > some other audio.h first...
> >
> > Richard
> >
> > On Thu, 2014-03-27 at 15:31 -0500, Jeremiah Benham wrote:
> > > I just tried to compile a snapshot of git for a darwin-x86 target. I
> > > am getting these errors:
> > >
> > >
> > /home/jjbenham/public_html/gub/target/darwin-x86/src/denemo-git.savannah.gnu.org--denemo.git-master/src/audio/pitchrecog.c:
> > In function 'pitchrecog':
> > >
> > /home/jjbenham/public_html/gub/target/darwin-x86/src/denemo-git.savannah.gnu.org--denemo.git-master/src/audio/pitchrecog.c:585:
> > error: 'DENEMO_SAMPLE_TYPE' undeclared (first use in this function)
> > >
> > /home/jjbenham/public_html/gub/target/darwin-x86/src/denemo-git.savannah.gnu.org--denemo.git-master/src/audio/pitchrecog.c:585:
> > error: (Each undeclared identifier is reported only once
> > >
> > /home/jjbenham/public_html/gub/target/darwin-x86/src/denemo-git.savannah.gnu.org--denemo.git-master/src/audio/pitchrecog.c:585:
> > error: for each function it appears in.)
> > >
> > /home/jjbenham/public_html/gub/target/darwin-x86/src/denemo-git.savannah.gnu.org--denemo.git-master/src/audio/pitchrecog.c:585:
> > error: 'in' undeclared (first use in this function)
> > >
> > /home/jjbenham/public_html/gub/target/darwin-x86/src/denemo-git.savannah.gnu.org--denemo.git-master/src/audio/pitchrecog.c:585:
> > error: expected expression before ')' token
> > >
> > >
> > > Jeremiah
> > >
> > > _______________________________________________
> > > Denemo-devel mailing list
> > > address@hidden
> > > https://lists.gnu.org/mailman/listinfo/denemo-devel
> >
> >
> >
> 
> 
> -- 
> Éloi Rivard - address@hidden
> 
> « On perd plus à être indécis qu'à se tromper. »



reply via email to

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